Update timeseries_util:confirm_put/5 for ts_B_put_pass_1

This commit is contained in:
Brett Hazen 2015-11-08 22:20:54 +00:00
parent 2f2256583f
commit 31bd58a0de
2 changed files with 3 additions and 9 deletions

View File

@ -168,9 +168,7 @@ build_c2(Size) ->
-spec build_c2(non_neg_integer(), list()) -> [node()].
build_c2(Size, Config) ->
rt:set_backend(eleveldb),
[_Node1|_] = Nodes = rt:deploy_nodes(Size, Config),
rt:join_cluster(Nodes),
Nodes.
rt:build_cluster(Size, Config).
%% This is also the name of the table
get_bucket() ->

View File

@ -11,9 +11,5 @@ confirm() ->
TestType = normal,
DDL = timeseries_util:get_ddl(docs),
Obj = [timeseries_util:get_valid_obj()],
?assertEqual(
ok,
timeseries_util:confirm_put(Cluster, TestType, DDL, Obj)
),
pass.
Expected = ok,
timeseries_util:confirm_put(Cluster, TestType, DDL, Obj, Expected).