riak_test/tests/ts_A_select_pass_1.erl

26 lines
541 B
Erlang
Raw Normal View History

-module(ts_A_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 = single,
TestType = normal,
DDL = get_ddl(docs),
Data = get_valid_select_data(),
Qry = get_valid_qry(),
Expected = {
timeseries_util:get_cols(docs),
2015-10-01 21:53:27 +00:00
timeseries_util:exclusive_result_from_data(Data, 2, 9)},
confirm_select(Cluster, TestType, DDL, Data, Qry, Expected).