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/12/17 02:27:08 UTC
mesos git commit: Fixed a compilation issue on gcc 4.4.7.
Repository: mesos
Updated Branches:
refs/heads/master 049a62108 -> ea240f290
Fixed a compilation issue on gcc 4.4.7.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ea240f29
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ea240f29
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ea240f29
Branch: refs/heads/master
Commit: ea240f290dcc3a8f78cad217b2d4d9b3a764d3f0
Parents: 049a621
Author: Benjamin Mahler <be...@gmail.com>
Authored: Tue Dec 16 17:23:46 2014 -0800
Committer: Benjamin Mahler <be...@gmail.com>
Committed: Tue Dec 16 17:23:50 2014 -0800
----------------------------------------------------------------------
src/tests/hierarchical_allocator_tests.cpp | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/ea240f29/src/tests/hierarchical_allocator_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/hierarchical_allocator_tests.cpp b/src/tests/hierarchical_allocator_tests.cpp
index c43d352..1f62738 100644
--- a/src/tests/hierarchical_allocator_tests.cpp
+++ b/src/tests/hierarchical_allocator_tests.cpp
@@ -182,7 +182,7 @@ TEST_F(HierarchicalAllocatorTest, UnreservedDRF)
// would slow down the test.
Clock::pause();
- initialize({"role1", "role2"});
+ initialize(vector<string>{"role1", "role2"});
hashmap<FrameworkID, Resources> EMPTY;
@@ -304,7 +304,7 @@ TEST_F(HierarchicalAllocatorTest, ReservedDRF)
// would slow down the test.
Clock::pause();
- initialize({"role1", "role2"});
+ initialize(vector<string>{"role1", "role2"});
hashmap<FrameworkID, Resources> EMPTY;
@@ -373,7 +373,7 @@ TEST_F(HierarchicalAllocatorTest, CoarseGrained)
// influence this test.
Clock::pause();
- initialize({"role1", "role2"});
+ initialize(vector<string>{"role1", "role2"});
hashmap<FrameworkID, Resources> EMPTY;
@@ -444,7 +444,7 @@ TEST_F(HierarchicalAllocatorTest, SameShareFairness)
{
Clock::pause();
- initialize({});
+ initialize(vector<string>{});
hashmap<FrameworkID, Resources> EMPTY;
@@ -489,7 +489,7 @@ TEST_F(HierarchicalAllocatorTest, Reservations)
{
Clock::pause();
- initialize({"role1", "role2", "role3"});
+ initialize(vector<string>{"role1", "role2", "role3"});
hashmap<FrameworkID, Resources> EMPTY;
@@ -540,7 +540,7 @@ TEST_F(HierarchicalAllocatorTest, RecoverResources)
{
Clock::pause();
- initialize({"role1"});
+ initialize(vector<string>{"role1"});
hashmap<FrameworkID, Resources> EMPTY;
@@ -605,7 +605,7 @@ TEST_F(HierarchicalAllocatorTest, Allocatable)
// would slow down the test.
Clock::pause();
- initialize({"role1"});
+ initialize(vector<string>{"role1"});
FrameworkInfo framework = createFrameworkInfo("role1");
allocator->addFramework(framework.id(), framework, Resources());
@@ -673,7 +673,7 @@ TEST_F(HierarchicalAllocatorTest, Whitelist)
{
Clock::pause();
- initialize({"role1"});
+ initialize(vector<string>{"role1"});
hashset<string> whitelist;
whitelist.insert("dummy-slave");