You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2014/11/20 21:50:49 UTC
[3/3] mesos git commit: Removed unnecessary calls to Shutdown() in
the reconciliation tests.
Removed unnecessary calls to Shutdown() in the reconciliation tests.
Review: https://reviews.apache.org/r/28265
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/74e1d9bf
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/74e1d9bf
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/74e1d9bf
Branch: refs/heads/master
Commit: 74e1d9bfb8976113c0e7833f8f4909566b044b63
Parents: b280962
Author: Benjamin Mahler <bm...@twitter.com>
Authored: Wed Nov 19 16:00:48 2014 -0800
Committer: Benjamin Mahler <bm...@twitter.com>
Committed: Thu Nov 20 12:49:49 2014 -0800
----------------------------------------------------------------------
src/tests/reconciliation_tests.cpp | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/74e1d9bf/src/tests/reconciliation_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/reconciliation_tests.cpp b/src/tests/reconciliation_tests.cpp
index 4ba5394..d153152 100644
--- a/src/tests/reconciliation_tests.cpp
+++ b/src/tests/reconciliation_tests.cpp
@@ -272,8 +272,6 @@ TEST_F(ReconciliationTest, UnknownSlave)
driver.stop();
driver.join();
-
- Shutdown();
}
@@ -332,8 +330,6 @@ TEST_F(ReconciliationTest, UnknownTask)
driver.stop();
driver.join();
-
- Shutdown(); // Must shutdown before 'containerizer' gets deallocated.
}
@@ -426,8 +422,6 @@ TEST_F(ReconciliationTest, SlaveInTransition)
driver.stop();
driver.join();
-
- Shutdown();
}
@@ -661,8 +655,6 @@ TEST_F(ReconciliationTest, PendingTask)
driver.stop();
driver.join();
-
- Shutdown(); // Must shutdown before 'containerizer' gets deallocated.
}
@@ -853,5 +845,5 @@ TEST_F(ReconciliationTest, ReconcileStatusUpdateTaskState)
driver.stop();
driver.join();
- Shutdown();
+ Shutdown(); // Must shutdown before the detector gets de-allocated.
}