diff options
author | Nathan Louie <nathan.louie@10gen.com> | 2018-06-05 13:37:23 -0400 |
---|---|---|
committer | Nathan Louie <nathan.louie@10gen.com> | 2018-06-06 09:43:38 -0400 |
commit | 0ca1e56c5c045872e613f4a3ad68e40edfe66283 (patch) | |
tree | 22f9c93a06676c3d262ceef4d169b20ce54bb538 /src/mongo/db/repl/vote_requester_test.cpp | |
parent | 1b4b21a148c0a849693f5d3fcb18611893811e5e (diff) | |
download | mongo-0ca1e56c5c045872e613f4a3ad68e40edfe66283.tar.gz |
SERVER-34817 find replace from InterruptedDueToReplStateChange error code to InterruptedDueToStepDown
Diffstat (limited to 'src/mongo/db/repl/vote_requester_test.cpp')
-rw-r--r-- | src/mongo/db/repl/vote_requester_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/repl/vote_requester_test.cpp b/src/mongo/db/repl/vote_requester_test.cpp index ad7501440a9..eaf8055c2a5 100644 --- a/src/mongo/db/repl/vote_requester_test.cpp +++ b/src/mongo/db/repl/vote_requester_test.cpp @@ -158,8 +158,7 @@ protected: response.setVoteGranted(true); response.setTerm(1); response.addToBSON(&result); - auto status = - Status(ErrorCodes::InterruptedDueToReplStateChange, "operation was interrupted"); + auto status = Status(ErrorCodes::InterruptedDueToStepDown, "operation was interrupted"); CommandHelpers::appendCommandStatusNoThrow(result, status); return RemoteCommandResponse(result.obj(), BSONObj(), Milliseconds(10)); } |