summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2022-03-09 15:42:55 +1100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-09 05:14:58 +0000
commitff90764302229844a8431c68dcaf3f40e4db9a19 (patch)
treec830866c512b5f140833670bd755afcfaee86b95 /src/third_party/wiredtiger/test
parent55936698f8a0f9d03fce61d37af7abbac5929a15 (diff)
downloadmongo-ff90764302229844a8431c68dcaf3f40e4db9a19.tar.gz
Import wiredtiger: 936758c1cf25fdcb8adc24ad8a4ff73dfe4bbab0 from branch mongodb-master
ref: ae0da28dea..936758c1cf for: 6.0.0 WT-8889 Remove unused failpoint definition in test checkpoint
Diffstat (limited to 'src/third_party/wiredtiger/test')
-rw-r--r--src/third_party/wiredtiger/test/checkpoint/checkpointer.c2
-rw-r--r--src/third_party/wiredtiger/test/checkpoint/test_checkpoint.c7
-rw-r--r--src/third_party/wiredtiger/test/checkpoint/test_checkpoint.h4
3 files changed, 5 insertions, 8 deletions
diff --git a/src/third_party/wiredtiger/test/checkpoint/checkpointer.c b/src/third_party/wiredtiger/test/checkpoint/checkpointer.c
index 3239fb0bfed..6e12630ec5d 100644
--- a/src/third_party/wiredtiger/test/checkpoint/checkpointer.c
+++ b/src/third_party/wiredtiger/test/checkpoint/checkpointer.c
@@ -43,7 +43,7 @@ set_stable(void)
{
char buf[128];
- if (g.race_timetamps)
+ if (g.race_timestamps)
testutil_check(__wt_snprintf(buf, sizeof(buf),
"stable_timestamp=%" PRIx64 ",oldest_timestamp=%" PRIx64, g.ts_stable, g.ts_stable));
else
diff --git a/src/third_party/wiredtiger/test/checkpoint/test_checkpoint.c b/src/third_party/wiredtiger/test/checkpoint/test_checkpoint.c
index 4c3e84bd8ba..8c14b268f83 100644
--- a/src/third_party/wiredtiger/test/checkpoint/test_checkpoint.c
+++ b/src/third_party/wiredtiger/test/checkpoint/test_checkpoint.c
@@ -165,7 +165,7 @@ main(int argc, char *argv[])
g.use_timestamps = true;
break;
case 'X':
- g.use_timestamps = g.race_timetamps = true;
+ g.use_timestamps = g.race_timestamps = true;
break;
default:
return (usage());
@@ -267,9 +267,8 @@ wt_connect(const char *config_open)
bool timing_stress;
timing_stress = false;
- if (g.sweep_stress || g.failpoint_hs_delete_key_from_ts || g.failpoint_hs_insert_1 ||
- g.failpoint_hs_insert_2 || g.hs_checkpoint_timing_stress || g.reserved_txnid_timing_stress ||
- g.checkpoint_slow_timing_stress) {
+ if (g.sweep_stress || g.failpoint_hs_delete_key_from_ts || g.hs_checkpoint_timing_stress ||
+ g.reserved_txnid_timing_stress || g.checkpoint_slow_timing_stress) {
timing_stress = true;
testutil_check(__wt_snprintf(timing_stress_config, sizeof(timing_stress_config),
",timing_stress_for_test=[%s%s%s%s%s]", g.sweep_stress ? "aggressive_sweep" : "",
diff --git a/src/third_party/wiredtiger/test/checkpoint/test_checkpoint.h b/src/third_party/wiredtiger/test/checkpoint/test_checkpoint.h
index 31689c4c32d..2fa5f6f5986 100644
--- a/src/third_party/wiredtiger/test/checkpoint/test_checkpoint.h
+++ b/src/third_party/wiredtiger/test/checkpoint/test_checkpoint.h
@@ -69,8 +69,6 @@ typedef struct {
int status; /* Exit status */
bool sweep_stress; /* Sweep stress test */
bool failpoint_hs_delete_key_from_ts; /* Failpoint for hs key deletion. */
- bool failpoint_hs_insert_1; /* Failpoint for hs insertion. */
- bool failpoint_hs_insert_2; /* Failpoint for hs insertion. */
bool hs_checkpoint_timing_stress; /* History store checkpoint timing stress */
bool reserved_txnid_timing_stress; /* Reserved transaction id timing stress */
bool checkpoint_slow_timing_stress; /* Checkpoint slow timing stress */
@@ -78,7 +76,7 @@ typedef struct {
uint64_t ts_stable; /* Current stable timestamp */
bool mixed_mode_deletes; /* Run with mixed mode deletes */
bool use_timestamps; /* Use txn timestamps */
- bool race_timetamps; /* Async update to oldest timestamp */
+ bool race_timestamps; /* Async update to oldest timestamp */
bool prepare; /* Use prepare transactions */
COOKIE *cookies; /* Per-thread info */
WT_RWLOCK clock_lock; /* Clock synchronization */