summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2016-03-10 10:24:25 -0500
committermatt dannenberg <matt.dannenberg@10gen.com>2016-03-10 10:24:25 -0500
commit1d7516e470bc5194bff6b772663a818d067de046 (patch)
treec0be35f6de278e73e992d1dc93d492ddb4b7342e
parent02394e910c4f31c7a4e6701d5201844b2742c86c (diff)
downloadmongo-1d7516e470bc5194bff6b772663a818d067de046.tar.gz
SERVER-23070 disable selectSyncSource tests
-rw-r--r--src/mongo/db/repl/replication_coordinator_impl_test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl_test.cpp b/src/mongo/db/repl/replication_coordinator_impl_test.cpp
index 404f7e520df..49dc4341b2d 100644
--- a/src/mongo/db/repl/replication_coordinator_impl_test.cpp
+++ b/src/mongo/db/repl/replication_coordinator_impl_test.cpp
@@ -4485,6 +4485,7 @@ void selectSyncSource(ReplicationCoordinatorImpl* replCoord, SyncSourceResolverR
}
} // namespace
+/*
TEST_F(ReplCoordTest, SelectSyncSourceReturnsStatusOkAndAnEmptyHostWhenNoViableHostExists) {
assertStartSuccess(BSON("_id"
<< "mySet"
@@ -4644,7 +4645,8 @@ TEST_F(ReplCoordSelectSyncSourceTest,
TEST_F(
ReplCoordSelectSyncSourceTest,
- SelectSyncSourceWillReturnOplogStartMissingAndTheEarliestOpTimeAvailableWhenAllSourcesAreTooFresh) {
+ SelectSyncSourceWillReturnOplogStartMissingAndTheEarliestOpTimeAvailableWhenAllSourcesAreTooFresh)
+{
SyncSourceResolverResponse resp;
stdx::thread selectSyncSourceThread(selectSyncSource, getReplCoord(), &resp);
@@ -4750,6 +4752,7 @@ TEST_F(ReplCoordSelectSyncSourceTest,
ASSERT(resp.isOK());
ASSERT_EQUALS(HostAndPort("node2", 12345), resp.getSyncSource());
}
+*/
// TODO(schwerin): Unit test election id updating
} // namespace