summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <Andy Schwerin schwerin@mongodb.com>2017-04-10 17:00:10 -0400
committerAndy Schwerin <Andy Schwerin schwerin@mongodb.com>2017-04-18 13:33:30 -0400
commitb47300a80384e48dd6e17bae7a81479f7b9f1a2c (patch)
treea572caf8997526ab72bc28756ab9a7821959d3a0 /src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
parent89931a9ab6942c8f55afa1a523ac8fb0801ba731 (diff)
downloadmongo-b47300a80384e48dd6e17bae7a81479f7b9f1a2c.tar.gz
SERVER-28624 Replace references to ReplicationExecutor with TaskExecutor.
This change replaces, wherever possible, references to the concrete type ReplicationExecutor with references to the interface type TaskExecutor, and eliminates the repl::ResponseStatus typedef, with an eye toward eventually replacing ReplicationExecutor with another implementation.
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp')
-rw-r--r--src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp b/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
index 5f4101e9eb2..59eee099c93 100644
--- a/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
+++ b/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
@@ -365,8 +365,7 @@ TEST_F(ReplCoordHBV1Test, IgnoreTheContentsOfMetadataWhenItsReplicaSetIdDoesNotM
// Prepare heartbeat response.
OID unexpectedId = OID::gen();
OpTime opTime{Timestamp{10, 10}, 10};
- ReplicationExecutor::ResponseStatus heartbeatResponse(ErrorCodes::InternalError,
- "not initialized");
+ RemoteCommandResponse heartbeatResponse(ErrorCodes::InternalError, "not initialized");
{
ReplSetHeartbeatResponse hbResp;
hbResp.setSetName(rsConfig.getReplSetName());