diff options
Diffstat (limited to 'jstests/replsets')
8 files changed, 9 insertions, 0 deletions
diff --git a/jstests/replsets/change_sync_source_in_initial_sync.js b/jstests/replsets/change_sync_source_in_initial_sync.js index 0d592e42455..51ecd91d578 100644 --- a/jstests/replsets/change_sync_source_in_initial_sync.js +++ b/jstests/replsets/change_sync_source_in_initial_sync.js @@ -8,6 +8,8 @@ (function() { "use strict"; +load('jstests/libs/fail_point_util.js'); + const testName = "change_sync_source_in_initial_sync"; const dbName = testName; diff --git a/jstests/replsets/initial_sync_nodes_contribute_to_liveness_majorities.js b/jstests/replsets/initial_sync_nodes_contribute_to_liveness_majorities.js index 8f8adf71f97..a5787e445ac 100644 --- a/jstests/replsets/initial_sync_nodes_contribute_to_liveness_majorities.js +++ b/jstests/replsets/initial_sync_nodes_contribute_to_liveness_majorities.js @@ -12,6 +12,7 @@ "use strict"; load("jstests/libs/fail_point_util.js"); +load("jstests/replsets/rslib.js"); const name = jsTestName(); const rst = new ReplSetTest({ diff --git a/jstests/replsets/initial_sync_nodes_maintain_and_gossip_commit_point.js b/jstests/replsets/initial_sync_nodes_maintain_and_gossip_commit_point.js index 4f04286d0ca..249706470b1 100644 --- a/jstests/replsets/initial_sync_nodes_maintain_and_gossip_commit_point.js +++ b/jstests/replsets/initial_sync_nodes_maintain_and_gossip_commit_point.js @@ -13,6 +13,7 @@ "use strict"; load("jstests/libs/fail_point_util.js"); +load("jstests/replsets/rslib.js"); const name = jsTestName(); const rst = new ReplSetTest({ diff --git a/jstests/replsets/no_progress_updates_during_initial_sync.js b/jstests/replsets/no_progress_updates_during_initial_sync.js index 11f6b858d71..a73ee7d17ae 100644 --- a/jstests/replsets/no_progress_updates_during_initial_sync.js +++ b/jstests/replsets/no_progress_updates_during_initial_sync.js @@ -12,6 +12,7 @@ "use strict"; load("jstests/libs/write_concern_util.js"); +load("jstests/libs/fail_point_util.js"); const testName = jsTestName(); const rst = new ReplSetTest({name: testName, nodes: [{}, {rsConfig: {priority: 0}}]}); diff --git a/jstests/replsets/reconfig_avoids_diverging_configs.js b/jstests/replsets/reconfig_avoids_diverging_configs.js index 6697b0497a5..1a8a5744868 100644 --- a/jstests/replsets/reconfig_avoids_diverging_configs.js +++ b/jstests/replsets/reconfig_avoids_diverging_configs.js @@ -21,6 +21,7 @@ load("jstests/libs/parallel_shell_helpers.js"); load('jstests/libs/test_background_ops.js'); load("jstests/replsets/rslib.js"); load('jstests/aggregation/extras/utils.js'); +load("jstests/libs/fail_point_util.js"); let rst = new ReplSetTest({nodes: 4, useBridge: true}); rst.startSet(); diff --git a/jstests/replsets/resync_majority_member.js b/jstests/replsets/resync_majority_member.js index 265c03d3406..29d1e0c921e 100644 --- a/jstests/replsets/resync_majority_member.js +++ b/jstests/replsets/resync_majority_member.js @@ -12,6 +12,7 @@ "use strict"; load("jstests/libs/write_concern_util.js"); +load("jstests/libs/fail_point_util.js"); TestData.skipCheckDBHashes = true; // the set is not consistent when we shutdown the test diff --git a/jstests/replsets/server_status_metrics.js b/jstests/replsets/server_status_metrics.js index a88bb03c80d..5d0878dc519 100644 --- a/jstests/replsets/server_status_metrics.js +++ b/jstests/replsets/server_status_metrics.js @@ -12,6 +12,7 @@ "use strict"; load("jstests/libs/write_concern_util.js"); +load("jstests/libs/fail_point_util.js"); /** * Test replication metrics diff --git a/jstests/replsets/stable_timestamp_can_advance_after_oplog_hole_abort.js b/jstests/replsets/stable_timestamp_can_advance_after_oplog_hole_abort.js index 41a20e892c3..c6408e903f8 100644 --- a/jstests/replsets/stable_timestamp_can_advance_after_oplog_hole_abort.js +++ b/jstests/replsets/stable_timestamp_can_advance_after_oplog_hole_abort.js @@ -7,6 +7,7 @@ (function() { "use strict"; load("jstests/libs/fail_point_util.js"); +load("jstests/libs/parallelTester.js"); // For Thread. const replTest = new ReplSetTest({nodes: 1}); replTest.startSet(); |