diff options
author | Spencer T Brody <spencer@mongodb.com> | 2017-02-24 14:44:12 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2017-03-02 11:00:50 -0500 |
commit | f2fa7446eebc3b6a33e4c8a623608d2e4cc67d2e (patch) | |
tree | 33a0205948c89056cc57f135f2847f59c151b6d8 | |
parent | 92d9fb1162f40e1feeb21c534f9e6b278e050d64 (diff) | |
download | mongo-f2fa7446eebc3b6a33e4c8a623608d2e4cc67d2e.tar.gz |
SERVER-28050 Reconnect connection after stepdown in read_committed_stale_history.js
(cherry picked from commit 02dbff056f913f77df2bfe5558897bc9a229ae4f)
-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. |