A socket exception can legitimately occur if the added node aborts while an
ismaster command is running.
Closes#952
Signed-off-by: Ramon Fernandez <ramon.fernandez@mongodb.com>
reInitiate can throw because it causes an ismaster command to be run on each
secondary. These exceptions can cause intermittent test failures if the
newly added secondary aborts before the ismaster command is run on it.
Closes#945.
Signed-off-by: Ramon Fernandez <ramon.fernandez@mongodb.com>
Previously, the test could fail if the primary transitioned to a secondary
before reInitiate finished executing.
Signed-off-by: Ramon Fernandez <ramon.fernandez@mongodb.com>