Add a toggle back to pb for further testing

This commit is contained in:
John R. Daily 2015-12-07 12:05:56 -05:00
parent d3e526aa38
commit 14b7707c1b

View File

@ -82,6 +82,18 @@ confirm_all_from_node(Node, Data, PvalP1, PvalP2) ->
ok = confirm_get(C, lists:nth(12, Data)),
ok = confirm_nx_get(C),
%% Switch back to PB mode for a few tests
riakc_pb_socket:use_native_encoding(C, false),
%% 5 (redux). select
ok = confirm_select(C, PvalP1, PvalP2),
%% 6 (redux). single-key get some data
ok = confirm_get(C, lists:nth(12, Data)),
ok = confirm_nx_get(C),
riakc_pb_socket:use_native_encoding(C, true),
ok = confirm_list_keys(C),
ok = confirm_delete_all(C).