mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-07 00:55:21 +00:00
26 lines
541 B
Erlang
26 lines
541 B
Erlang
-module(ts_A_select_simple).
|
|
|
|
-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),
|
|
timeseries_util:exclusive_result_from_data(Data, 2, 9)},
|
|
confirm_select(Cluster, TestType, DDL, Data, Qry, Expected).
|