2015-09-24 10:17:49 +00:00
|
|
|
-module(ts_B_activate_table_pass_1).
|
2015-09-22 20:15:26 +00:00
|
|
|
|
2015-09-21 11:46:19 +00:00
|
|
|
-behavior(riak_test).
|
2015-09-18 09:22:03 +00:00
|
|
|
|
2015-11-17 22:54:20 +00:00
|
|
|
-include_lib("eunit/include/eunit.hrl").
|
|
|
|
|
2015-09-21 11:46:19 +00:00
|
|
|
-export([
|
|
|
|
confirm/0
|
|
|
|
]).
|
2015-09-18 09:22:03 +00:00
|
|
|
|
2015-09-21 11:46:19 +00:00
|
|
|
confirm() ->
|
2015-09-24 10:17:49 +00:00
|
|
|
ClusterType = multiple,
|
2015-11-19 20:13:26 +00:00
|
|
|
DDL = ts_util:get_ddl(docs),
|
2015-11-17 22:54:20 +00:00
|
|
|
Expected = {ok, "GeoCheckin has been activated\n\nWARNING: Nodes in this cluster can no longer be\ndowngraded to a version of Riak prior to 2.0\n"},
|
2015-11-19 20:13:26 +00:00
|
|
|
Got = ts_util:create_and_activate_bucket_type(ts_util:build_cluster(ClusterType), DDL),
|
2015-11-17 22:54:20 +00:00
|
|
|
?assertEqual(Expected, Got),
|
|
|
|
pass.
|