From 02dbff056f913f77df2bfe5558897bc9a229ae4f Mon Sep 17 00:00:00 2001 From: Spencer T Brody Date: Fri, 24 Feb 2017 14:44:12 -0500 Subject: SERVER-28050 Reconnect connection after stepdown in read_committed_stale_history.js --- jstests/replsets/read_committed_stale_history.js | 1 + 1 file changed, 1 insertion(+) (limited to 'jstests') 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. -- cgit v1.2.1