summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2016-03-16 09:24:29 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2016-03-16 09:24:29 -0400
commit626a4cf40f4ebd05b806a8acc4a3ba6528f7b701 (patch)
tree4ddeade30cf55b38045a80b3171afd61cd715e29
parentd116b7dcf476c6936ba59582de6bf94d2743ecb4 (diff)
downloadmongo-626a4cf40f4ebd05b806a8acc4a3ba6528f7b701.tar.gz
Revert "SERVER-23070 re-enable selectSyncSource unittests as their problem was fixed by SERVER-23082"
It was not in fact fixed by that commit.
-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