mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
Make the overload test a bit more precise
We should get exactly 200 get requests in this part of the test, so let's verify that instead of using the fuzzier >= comparison.
This commit is contained in:
parent
2d4e2b59ff
commit
3ba8623975
@ -136,8 +136,8 @@ test_no_overload_protection(Nodes, BKV) ->
|
||||
lager:info("Testing with no overload protection"),
|
||||
ProcFun = build_predicate_eq(test_no_overload_protection, ?NUM_REQUESTS,
|
||||
"ProcFun", "Procs"),
|
||||
QueueFun = build_predicate_gte(test_no_overload_protection, ?NUM_REQUESTS,
|
||||
"QueueFun", "Queue Size"),
|
||||
QueueFun = build_predicate_eq(test_no_overload_protection, ?NUM_REQUESTS,
|
||||
"QueueFun", "Queue Size"),
|
||||
verify_test_results(run_test(Nodes, BKV), BKV, ProcFun, QueueFun).
|
||||
|
||||
verify_test_results({_NumProcs, QueueLen}, {?CONSISTENT_BUCKET, _, _}, _ProcFun, QueueFun) ->
|
||||
|
Loading…
Reference in New Issue
Block a user