mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
proves fix for riak#372
This commit is contained in:
parent
3b69c92fd2
commit
9c7ef69c0d
@ -6,7 +6,19 @@
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
confirm() ->
|
||||
[Node] = rt:deploy_nodes(1, {cuttlefish, [{"ring_size", "8"}]}),
|
||||
|
||||
CuttlefishConf = [
|
||||
{"ring_size", "8"},
|
||||
{"leveldb.sync", true}
|
||||
],
|
||||
|
||||
[Node] = rt:deploy_nodes(1, {cuttlefish, CuttlefishConf}),
|
||||
{ok, RingSize} = rt:rpc_get_env(Node, [{riak_core, ring_creation_size}]),
|
||||
?assertEqual(8, RingSize),
|
||||
|
||||
%% test leveldb sync typo
|
||||
{ok, LevelDBSync} = rt:rpc_get_env(Node, [{eleveldb, sync}]),
|
||||
?assertEqual(true, LevelDBSync),
|
||||
|
||||
|
||||
pass.
|
Loading…
Reference in New Issue
Block a user