diff options
author | Andy Schwerin <Andy Schwerin schwerin@mongodb.com> | 2017-04-10 17:00:10 -0400 |
---|---|---|
committer | Andy Schwerin <Andy Schwerin schwerin@mongodb.com> | 2017-04-18 13:33:30 -0400 |
commit | b47300a80384e48dd6e17bae7a81479f7b9f1a2c (patch) | |
tree | a572caf8997526ab72bc28756ab9a7821959d3a0 /src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp | |
parent | 89931a9ab6942c8f55afa1a523ac8fb0801ba731 (diff) | |
download | mongo-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.cpp | 3 |
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()); |