diff options
author | Aaron <aaron@10gen.com> | 2010-01-05 14:31:47 -0800 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2010-01-05 14:31:47 -0800 |
commit | 3a1907331af23a634d9a52e9457e967d5f691577 (patch) | |
tree | dbc9b21bbf8a6758d70005f123074093f104eb6f /jstests/parallel | |
parent | 88eb16dc0f8b06311b5e04670c6377be491652e4 (diff) | |
download | mongo-3a1907331af23a634d9a52e9457e967d5f691577.tar.gz |
SERVER-470 improve event generation helpers
Diffstat (limited to 'jstests/parallel')
-rw-r--r-- | jstests/parallel/insert.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/parallel/insert.js b/jstests/parallel/insert.js index f62bde78be2..fc1c750795a 100644 --- a/jstests/parallel/insert.js +++ b/jstests/parallel/insert.js @@ -9,7 +9,7 @@ Random.setRandomSeed(); t = new ParallelTester(); for( id = 0; id < 10; ++id ) { - var g = new EventGenerator( id, "jstests_parallel_insert", Random.rand() * 20 ); + var g = new EventGenerator( id, "jstests_parallel_insert", Random.randInt( 20 ) ); for( j = 0; j < 1000; ++j ) { if ( j % 50 == 0 ) { g.addCheckCount( j, {who:id} ); |