mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
Update gh_riak_kv_765 test
Make test more deterministic on slow hardware. Add note about test not being designed for Giddyup/CI.
This commit is contained in:
parent
cfc606a0d8
commit
8aee9d666e
@ -21,6 +21,14 @@
|
||||
%% This module tests the various AAE additions made in
|
||||
%% https://github.com/basho/riak_kv/pull/765
|
||||
|
||||
%% !!! DO NOT ADD TO GIDDYUP
|
||||
%%
|
||||
%% This module is not meant to be used as an automated CI test. It
|
||||
%% exists for development/code review purposes to ensure the changes
|
||||
%% made in basho/riak_kv#765 work as the pull-request claims.
|
||||
%%
|
||||
%% !!! DO NOT ADD TO GIDDYUP
|
||||
|
||||
-module(gh_riak_kv_765).
|
||||
-compile(export_all).
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
@ -67,7 +75,7 @@ check_throttle_and_expiration() ->
|
||||
enable_aae(Node),
|
||||
time_build(Node),
|
||||
Duration1 = rebuild(Node, 30000, 1000),
|
||||
Duration2 = rebuild(Node, 30000, 3500),
|
||||
Duration2 = rebuild(Node, 30000, 5500),
|
||||
?assert(Duration2 > (2 * Duration1)),
|
||||
|
||||
%% Test manual expiration
|
||||
|
Loading…
Reference in New Issue
Block a user