SERVER-119621: Skip checking log for find cmd timeout on new primary in configurable_fetcher_timeout.js (#48017)
GitOrigin-RevId: 5428d8963c1994eafcae872cf8ac5aef6dd548b9
This commit is contained in:
parent
adc34cda80
commit
f5b27c20ad
@ -8,7 +8,12 @@
|
||||
import {configureFailPoint} from "jstests/libs/fail_point_util.js";
|
||||
import {ReplSetTest} from "jstests/libs/replsettest.js";
|
||||
|
||||
const rst = new ReplSetTest({name: jsTestName(), nodes: 3, settings: {chainingAllowed: false}, useBridge: true});
|
||||
const rst = new ReplSetTest({
|
||||
name: jsTestName(),
|
||||
nodes: [{}, {}, {rsConfig: {priority: 0}}],
|
||||
settings: {chainingAllowed: false},
|
||||
useBridge: true,
|
||||
});
|
||||
rst.startSet();
|
||||
rst.initiate(null, null, {initiateWithDefaultElectionTimeout: true});
|
||||
|
||||
@ -66,8 +71,7 @@ assert.soon(() => {
|
||||
jsTestLog("Unblock old primary from secondary");
|
||||
originalPrimary.reconnect(secondary1);
|
||||
|
||||
jsTestLog("Waiting for secondaries to time out on find command");
|
||||
checkLog.containsJson(secondary1, 5579707); /* Fetcher return error log message */
|
||||
jsTestLog("Waiting for secondary2 to time out on find command");
|
||||
checkLog.containsJson(secondary2, 5579707); /* Fetcher return error log message */
|
||||
|
||||
jsTestLog("Secondaries have timed out, turning off failpoint to hang");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user