From 435044c8700c24d3d83c9b7f19708eee57ed4def Mon Sep 17 00:00:00 2001 From: Benety Goh Date: Wed, 14 Oct 2015 19:13:10 -0400 Subject: SERVER-20922 _stepDownFinish uses event handle in function argument instead of _stepDownFinishedEvent which may be overridden by multiple calls to _startStepDown --- src/mongo/db/repl/SConscript | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/mongo/db/repl/SConscript') diff --git a/src/mongo/db/repl/SConscript b/src/mongo/db/repl/SConscript index d79cd50a77c..ec7396c84f4 100644 --- a/src/mongo/db/repl/SConscript +++ b/src/mongo/db/repl/SConscript @@ -302,11 +302,16 @@ env.Library('repl_coordinator_test_fixture', 'topology_coordinator_impl',\ ]) -env.CppUnitTest('repl_coordinator_impl_test', - [ - 'replication_coordinator_impl_test.cpp', - ], - LIBDEPS=['repl_coordinator_test_fixture']) +env.CppUnitTest( + target='repl_coordinator_impl_test', + source=[ + 'replication_coordinator_impl_test.cpp', + ], + LIBDEPS=[ + '$BUILD_DIR/mongo/unittest/concurrency', + 'repl_coordinator_test_fixture', + ], +) env.CppUnitTest('replica_set_config_checks_test', 'replica_set_config_checks_test.cpp', -- cgit v1.2.1