riak_test/tests/ts_C_select_pass_1.erl
2015-10-02 14:06:51 +00:00

24 lines
495 B
Erlang

-module(ts_C_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() ->
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(one_down, normal, DDL, Data, Qry, Expected).