Rename all of the ts_A_select_fail_* tests

This commit is contained in:
Brett Hazen 2015-11-11 20:33:12 +00:00
parent 8f8b3d9b4d
commit f76d8c53ca
7 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
-module(ts_A_select_fail_5).
-module(ts_A_select_compare_two_fields).
-behavior(riak_test).
@ -16,6 +16,6 @@ confirm() ->
"AND myfamily = 'fa2mily1' "
"AND myseries ='seriesX' "
"AND weather = myseries",
Expected = {[],[]},
Expected = "Expect that fields cannot be compared",
timeseries_util:confirm_select(
single, normal, DDL, Data, Qry, Expected).

View File

@ -1,4 +1,4 @@
-module(ts_A_select_fail_6).
-module(ts_A_select_incompatible_type_float).
-behavior(riak_test).
@ -11,10 +11,10 @@ confirm() ->
"SELECT * FROM GeoCheckin "
"WHERE time > 1 AND time < 10 "
"AND myfamily = 'family1' "
"AND myseries = 1 ", % error, should be a varchar
"AND myseries = 1.0", % error, should be a varchar
Expected =
{error,{1001,
<<"invalid_query: \n",
"incompatible_type: field myseries with type varchar cannot be compared to type integer in where clause.">>}},
"incompatible_type: field myseries with type varchar cannot be compared to type float in where clause.">>}},
timeseries_util:confirm_select(
single, normal, DDL, Data, Qry, Expected).

View File

@ -2,7 +2,7 @@
%%% Test the if a varchar matches an integer
%%% is not allowed.
-module(ts_A_select_fail_4).
-module(ts_A_select_incompatible_type_integer).
-behavior(riak_test).

View File

@ -2,7 +2,7 @@
%%% Execute a query where the primary key is not covered
%%% in the where clause.
-module(ts_A_select_fail_3).
-module(ts_A_select_missing_field_in_pk).
-behavior(riak_test).

View File

@ -1,4 +1,4 @@
-module(ts_A_select_fail_2).
-module(ts_A_select_unexpected_token).
-behavior(riak_test).

View File

@ -1,4 +1,4 @@
-module(ts_A_select_fail_7_where_has_no_lower_bounds).
-module(ts_A_select_where_has_no_lower_bounds).
-behavior(riak_test).

View File

@ -1,4 +1,4 @@
-module(ts_A_select_fail_8_where_has_no_upper_bounds).
-module(ts_A_select_where_has_no_upper_bounds).
-behavior(riak_test).