You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2016/03/10 20:37:17 UTC

[3/3] mesos git commit: Removed `FLAGS_v` assignment in test case.

Removed `FLAGS_v` assignment in test case.

Per discussion with James Peach, this doesn't serve a
useful purpose.

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


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/14f5ab73
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/14f5ab73
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/14f5ab73

Branch: refs/heads/master
Commit: 14f5ab735e5a058777403714ede9aefe8e34c9e9
Parents: 2a436e0
Author: Neil Conway <ne...@gmail.com>
Authored: Thu Mar 10 14:02:41 2016 -0500
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Thu Mar 10 14:36:59 2016 -0500

----------------------------------------------------------------------
 src/tests/hierarchical_allocator_tests.cpp | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/14f5ab73/src/tests/hierarchical_allocator_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/hierarchical_allocator_tests.cpp b/src/tests/hierarchical_allocator_tests.cpp
index 9c2e519..459e025 100644
--- a/src/tests/hierarchical_allocator_tests.cpp
+++ b/src/tests/hierarchical_allocator_tests.cpp
@@ -2722,9 +2722,6 @@ TEST_F(HierarchicalAllocator_BENCHMARK_Test, DeclineOffers)
   unsigned slaveCount = 2000;
   master::Flags flags;
 
-  FLAGS_v = 5;
-  __sync_synchronize(); // Ensure 'FLAGS_v' visible in other threads.
-
   // Choose an interval longer than the time we expect a single cycle to take so
   // that we don't back up the process queue.
   flags.allocation_interval = Hours(1);