-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
v4.4, v4.2
-
Execution Team 2020-06-29
-
8
This test only waits for the node transitions to primary, but not after it starts accepting writes. This causes the test to fail intermittently.
We should add something like this to ensure the node is writable:
assert.soon(() => newPrimary.adminCommand({isMaster: 1}).ismaster);