diff options
author | Spencer T Brody <spencer@mongodb.com> | 2017-02-24 14:44:12 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2017-02-24 17:36:21 -0500 |
commit | 02dbff056f913f77df2bfe5558897bc9a229ae4f (patch) | |
tree | aeb217ac505f90c0bb93b2a58107548d679057c4 /jstests | |
parent | ef78254a2bb56df2df0d346e9405df1cffb83d52 (diff) | |
download | mongo-02dbff056f913f77df2bfe5558897bc9a229ae4f.tar.gz |
SERVER-28050 Reconnect connection after stepdown in read_committed_stale_history.js
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/replsets/read_committed_stale_history.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/replsets/read_committed_stale_history.js b/jstests/replsets/read_committed_stale_history.js index a7dac2006dc..1129e0118d9 100644 --- a/jstests/replsets/read_committed_stale_history.js +++ b/jstests/replsets/read_committed_stale_history.js @@ -118,6 +118,7 @@ assert.commandWorked(res); } rst.waitForState(nodes[0], ReplSetTest.State.SECONDARY); + reconnect(nodes[0]); // At this point the former primary will attempt to go into rollback, but the // 'rollbackHangBeforeStart' will prevent it from doing so. |