summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsueloverso <sue@mongodb.com>2017-10-31 15:33:16 -0400
committerGitHub <noreply@github.com>2017-10-31 15:33:16 -0400
commitc27b9625122848d76b0c4b86cabb6e684b7d026c (patch)
tree2bbe0b48353f2debc7edc69bf86336cfafa6bad7 /test
parent498981bf1b9eda81763e2499dcba9f80b7559c30 (diff)
downloadmongo-c27b9625122848d76b0c4b86cabb6e684b7d026c.tar.gz
WT-3714 Make the data ranges easier to view. (#3773)
Diffstat (limited to 'test')
-rw-r--r--test/csuite/random_abort/main.c2
-rw-r--r--test/csuite/timestamp_abort/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/csuite/random_abort/main.c b/test/csuite/random_abort/main.c
index b75ffba3c34..ad49f01dde5 100644
--- a/test/csuite/random_abort/main.c
+++ b/test/csuite/random_abort/main.c
@@ -189,7 +189,7 @@ fill_db(uint32_t nth)
printf("Create %" PRIu32 " writer threads\n", nth);
for (i = 0; i < nth; ++i) {
td[i].conn = conn;
- td[i].start = (UINT64_MAX / nth) * i;
+ td[i].start = WT_BILLION * (uint64_t)i;
td[i].id = i;
testutil_check(__wt_thread_create(
NULL, &thr[i], thread_run, &td[i]));
diff --git a/test/csuite/timestamp_abort/main.c b/test/csuite/timestamp_abort/main.c
index 8e143c3cf12..aeca0825da3 100644
--- a/test/csuite/timestamp_abort/main.c
+++ b/test/csuite/timestamp_abort/main.c
@@ -406,7 +406,7 @@ run_workload(uint32_t nth)
printf("Create %" PRIu32 " writer threads\n", nth);
for (i = 0; i < nth; ++i) {
td[i].conn = conn;
- td[i].start = (UINT64_MAX / nth) * i;
+ td[i].start = WT_BILLION * (uint64_t)i;
td[i].info = i;
testutil_check(__wt_thread_create(
NULL, &thr[i], thread_run, &td[i]));