You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 10:45:58 UTC
svn commit: r1132112 - /incubator/mesos/trunk/src/tests/test_master.cpp
Author: benh
Date: Sun Jun 5 08:45:58 2011
New Revision: 1132112
URL: http://svn.apache.org/viewvc?rev=1132112&view=rev
Log:
Removed unnecessary comments.
Modified:
incubator/mesos/trunk/src/tests/test_master.cpp
Modified: incubator/mesos/trunk/src/tests/test_master.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/tests/test_master.cpp?rev=1132112&r1=1132111&r2=1132112&view=diff
==============================================================================
--- incubator/mesos/trunk/src/tests/test_master.cpp (original)
+++ incubator/mesos/trunk/src/tests/test_master.cpp Sun Jun 5 08:45:58 2011
@@ -801,13 +801,6 @@ TEST(MasterTest, SchedulerFailoverStatus
LocalIsolationModule isolationModule(&exec);
-// <<<<<<<<<<<<<<
-// PID master;
-// vector<PID> slaves;
-
-// tie(master, slaves) =
-// local::launch(1, 2, 1 * Gigabyte, false, false, isolationModule);
-// >>>>>>>>>>>>>>
Master m;
PID master = Process::spawn(&m);
@@ -815,7 +808,6 @@ TEST(MasterTest, SchedulerFailoverStatus
PID slave = Process::spawn(&s);
BasicMasterDetector detector(master, slave, true);
-// >>>>>>>>>>>>>>
// Launch the first (i.e., failing) scheduler and wait until the
// first status update message is sent to it (drop the message).
@@ -903,15 +895,12 @@ TEST(MasterTest, SchedulerFailoverStatus
failingDriver.join();
failoverDriver.join();
-// <<<<<<<<<<<<<<
-// local::shutdown();
-// >>>>>>>>>>>>>>
MesosProcess::post(slave, pack<S2S_SHUTDOWN>());
Process::wait(slave);
MesosProcess::post(master, pack<M2M_SHUTDOWN>());
Process::wait(master);
-// >>>>>>>>>>>>>>
+
Process::filter(NULL);
ProcessClock::resume();