From 626a4cf40f4ebd05b806a8acc4a3ba6528f7b701 Mon Sep 17 00:00:00 2001 From: matt dannenberg Date: Wed, 16 Mar 2016 09:24:29 -0400 Subject: Revert "SERVER-23070 re-enable selectSyncSource unittests as their problem was fixed by SERVER-23082" It was not in fact fixed by that commit. --- src/mongo/db/repl/replication_coordinator_impl_test.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1