riak_test/tests/ts_A_create_table_fail_3.erl
Gordon Guthrie 84dde26a5a Further Time Series Tests
Please see the ts.README for details of the test structure

Some of these tests will fail:
* because they are bugs

Some of these tests will fail:
because we are currently awaiting query fixes and merges
2015-09-24 10:17:49 +00:00

25 lines
612 B
Erlang

-module(ts_A_create_table_fail_3).
-behavior(riak_test).
-export([
confirm/0
]).
-import(timeseries_util, [
get_ddl/1,
confirm_create/3
]).
%%
%% should error if you try and create a table twice
%%
confirm() ->
ClusterType = single,
DDL = get_ddl(docs),
Expected1 = {ok, "GeoCheckin created\n\nWARNING: After activating GeoCheckin, nodes in this cluster\ncan no longer be downgraded to a version of Riak prior to 2.0\n"},
pass = confirm_create(ClusterType, DDL, Expected1),
Expected2 = {ok,"some error message, yeah?"},
confirm_create(ClusterType, DDL, Expected2).