diff options
author | Clarisse Cheah <clarisse.cheah@mongodb.com> | 2023-01-09 01:20:25 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-01-09 02:00:21 +0000 |
commit | 2832fd105188727ddfd3f77370cb344257bf8518 (patch) | |
tree | 5881124596f0873e34af63135049423838d2d8d5 /src/third_party/wiredtiger/test/csuite/wt2909_checkpoint_integrity/main.c | |
parent | 4d30c6111ae6cdc7f6f60656af0e4b632ac6c0a4 (diff) | |
download | mongo-2832fd105188727ddfd3f77370cb344257bf8518.tar.gz |
Import wiredtiger: 91e10012b2b3d4a75419d2635863a67d523eae3c from branch mongodb-master
ref: 843032e989..91e10012b2
for: 6.3.0-rc0
WT-10438 Literal values use WT defines whenever possible.
Diffstat (limited to 'src/third_party/wiredtiger/test/csuite/wt2909_checkpoint_integrity/main.c')
-rw-r--r-- | src/third_party/wiredtiger/test/csuite/wt2909_checkpoint_integrity/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/test/csuite/wt2909_checkpoint_integrity/main.c b/src/third_party/wiredtiger/test/csuite/wt2909_checkpoint_integrity/main.c index 3a9c02ee1a8..935cf409bde 100644 --- a/src/third_party/wiredtiger/test/csuite/wt2909_checkpoint_integrity/main.c +++ b/src/third_party/wiredtiger/test/csuite/wt2909_checkpoint_integrity/main.c @@ -71,12 +71,12 @@ #define BIG_SIZE (1024 * 10) #define BIG_CONTENTS "<Big String Contents>" #define MAX_ARGS 20 -#define MAX_OP_RANGE 1000 +#define MAX_OP_RANGE WT_THOUSAND #define STDERR_FILE "stderr.txt" #define STDOUT_FILE "stdout.txt" #define TESTS_PER_CALIBRATION 2 #define TESTS_WITH_RECALIBRATION 5 -#define VERBOSE_PRINT 10000 +#define VERBOSE_PRINT (10 * WT_THOUSAND) static int check_results(TEST_OPTS *, uint64_t *); static void check_values(WT_CURSOR *, int, int, int, char *); @@ -625,7 +625,7 @@ subtest_populate(TEST_OPTS *opts, bool close_test) printf(" %" PRIu64 "/%" PRIu64 "\n", (i + 1), nrecords); /* Attempt to isolate the failures to checkpointing. */ if (i == (nrecords / 100)) { - enable_failures(opts->nops, 1000000); + enable_failures(opts->nops, WT_MILLION); /* CHECK should expect failures. */ CHECK(session->checkpoint(session, NULL), true); disable_failures(); @@ -674,7 +674,7 @@ main(int argc, char *argv[]) argc -= __wt_optind; argv += __wt_optind; if (opts->nrecords == 0) - opts->nrecords = 50000; + opts->nrecords = 50 * WT_THOUSAND; if (opts->table_type == TABLE_FIX) testutil_die(ENOTSUP, "Fixed-length column store not supported"); |