summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@mongodb.com>2022-05-10 12:09:00 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-10 22:25:10 +0000
commitbe429f18e15b79ecce43ac9679e3b244c9e7b2f5 (patch)
tree15b1c6507bac159b56832822d48e79e3b8a18c85
parent4a097ad4ab5c1cf6b3606578715aaf02b99420cb (diff)
downloadmongo-be429f18e15b79ecce43ac9679e3b244c9e7b2f5.tar.gz
SERVER-66356 Fix test failures in initial_sync_with_partial_transaction.js
-rw-r--r--etc/backports_required_for_multiversion_tests.yml4
-rw-r--r--jstests/replsets/initial_sync_with_partial_transaction.js1
2 files changed, 5 insertions, 0 deletions
diff --git a/etc/backports_required_for_multiversion_tests.yml b/etc/backports_required_for_multiversion_tests.yml
index 2f626e4fe02..763cf38f8db 100644
--- a/etc/backports_required_for_multiversion_tests.yml
+++ b/etc/backports_required_for_multiversion_tests.yml
@@ -220,6 +220,8 @@ last-continuous:
test_file: jstests/core/wildcard_index_cached_plans.js
- ticket: SERVER-65821
test_file: jstests/replsets/dbhash_lock_acquisition.js
+ - ticket: SERVER-66089
+ test_file: jstests/replsets/initial_sync_with_partial_transaction.js
# Tests that should only be excluded from particular suites should be listed under that suite.
suites:
@@ -573,6 +575,8 @@ last-lts:
test_file: jstests/core/wildcard_index_cached_plans.js
- ticket: SERVER-65821
test_file: jstests/replsets/dbhash_lock_acquisition.js
+ - ticket: SERVER-66089
+ test_file: jstests/replsets/initial_sync_with_partial_transaction.js
# Tests that should only be excluded from particular suites should be listed under that suite.
suites:
diff --git a/jstests/replsets/initial_sync_with_partial_transaction.js b/jstests/replsets/initial_sync_with_partial_transaction.js
index d29b251ac2f..a96387bbb31 100644
--- a/jstests/replsets/initial_sync_with_partial_transaction.js
+++ b/jstests/replsets/initial_sync_with_partial_transaction.js
@@ -87,6 +87,7 @@ checkLog.containsJson(initialSyncNode, 6608900);
stopReplProducerOnDocumentFailPoint.off();
pauseBatchApplicationAfterWritingOplogEntriesFailPoint.off();
replTest.awaitSecondaryNodes();
+replTest.awaitReplication();
// Make sure we got the transaction.
assert.eq(4, initialSyncNode.getDB(dbName)[collName].find().itcount());