summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@mongodb.com>2017-01-04 09:53:58 -0500
committerGitHub <noreply@github.com>2017-01-04 09:53:58 -0500
commit3a211a245a3b9198fdc0618bd0e2d3d97ff8171c (patch)
treee55d9220d8c040b3fdee64f74719174818c8d512 /test
parentb47f127c8d935e2a9815970eb1309d6e4b417549 (diff)
downloadmongo-3a211a245a3b9198fdc0618bd0e2d3d97ff8171c.tar.gz
WT-3100 test bug: format is weighted to delete, insert, then write operations.
Bug fix.
Diffstat (limited to 'test')
-rw-r--r--test/format/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/format/config.c b/test/format/config.c
index 43447c9ba02..50430fe073e 100644
--- a/test/format/config.c
+++ b/test/format/config.c
@@ -499,7 +499,7 @@ config_pct(void)
if (config_is_perm(list[i].name))
pct += *list[i].vp;
else
- list[i].order = mmrand(NULL, 0, 1000);
+ list[i].order = mmrand(NULL, 1, 1000);
if (pct > 100)
testutil_die(EINVAL,
"operation percentages total to more than 100%%");