From e10208462baeaecd878576ae1f0dc7903c0ff146 Mon Sep 17 00:00:00 2001 From: Jesper Louis Andersen Date: Sat, 7 Jan 2012 12:16:24 +0100 Subject: [PATCH] Make it much less likely to open up a new btree. --- test/fractal_btree_tests.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fractal_btree_tests.erl b/test/fractal_btree_tests.erl index 0e6dd30..df6c4ef 100644 --- a/test/fractal_btree_tests.erl +++ b/test/fractal_btree_tests.erl @@ -62,7 +62,7 @@ count_dicts(Open) -> command(#state { open = Open} = S) -> frequency( - [ {100, {call, ?SERVER, open, [g_btree_name()]}} ] ++ + [ {20, {call, ?SERVER, open, [g_btree_name()]}} ] ++ [ {2000, {call, ?SERVER, put, cmd_put_args(S)}} || dict:size(Open) > 0] ++ [ {1500, {call, ?SERVER, lookup_exist, cmd_lookup_args(S)}}