riak_test/tests/ts_B_select_pass_1.erl
2015-10-01 21:53:27 +00:00

26 lines
543 B
Erlang

-module(ts_B_select_pass_1).
-behavior(riak_test).
-export([
confirm/0
]).
-import(timeseries_util, [
get_ddl/1,
get_valid_select_data/0,
get_valid_qry/0,
confirm_select/6
]).
confirm() ->
Cluster = multiple,
TestType = normal,
DDL = get_ddl(docs),
Data = get_valid_select_data(),
Qry = get_valid_qry(),
Expected = {
timeseries_util:get_cols(docs),
timeseries_util:exclusive_result_from_data(Data, 2, 9)},
confirm_select(Cluster, TestType, DDL, Data, Qry, Expected).