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 2013/03/09 02:20:14 UTC

svn commit: r1454637 - /incubator/mesos/branches/0.12.x/src/tests/monitor_tests.cpp

Author: benh
Date: Sat Mar  9 01:20:13 2013
New Revision: 1454637

URL: http://svn.apache.org/r1454637
Log:
Fixed the monitor test to spawn the isolation module.

Review: https://reviews.apache.org/r/9836

Modified:
    incubator/mesos/branches/0.12.x/src/tests/monitor_tests.cpp

Modified: incubator/mesos/branches/0.12.x/src/tests/monitor_tests.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/branches/0.12.x/src/tests/monitor_tests.cpp?rev=1454637&r1=1454636&r2=1454637&view=diff
==============================================================================
--- incubator/mesos/branches/0.12.x/src/tests/monitor_tests.cpp (original)
+++ incubator/mesos/branches/0.12.x/src/tests/monitor_tests.cpp Sat Mar  9 01:20:13 2013
@@ -77,6 +77,8 @@ TEST(MonitorTest, WatchUnwatch)
   std::map<ExecutorID, Executor*> execs;
   TestingIsolationModule isolationModule(execs);
 
+  process::spawn(isolationModule);
+
   EXPECT_CALL(isolationModule, usage(frameworkId, executorId))
     .WillRepeatedly(Return(statistics));