You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ti...@apache.org on 2015/07/07 15:27:01 UTC
mesos git commit: Set refuse seconds on the correct filter in
reservation test.
Repository: mesos
Updated Branches:
refs/heads/master dde28e88e -> 5ff52b6b8
Set refuse seconds on the correct filter in reservation test.
`set_refuse_seconds` should have been called on `filtersForever` rather
than `filters`.
Review: https://reviews.apache.org/r/35703
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5ff52b6b
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5ff52b6b
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/5ff52b6b
Branch: refs/heads/master
Commit: 5ff52b6b85e3d9bb478dd7f30eff991e1ab2d81b
Parents: dde28e8
Author: Michael Park <mc...@gmail.com>
Authored: Mon Jul 6 19:48:05 2015 +0200
Committer: Till Toenshoff <to...@me.com>
Committed: Tue Jul 7 15:26:47 2015 +0200
----------------------------------------------------------------------
src/tests/reservation_tests.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/5ff52b6b/src/tests/reservation_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/reservation_tests.cpp b/src/tests/reservation_tests.cpp
index 755a375..99bf393 100644
--- a/src/tests/reservation_tests.cpp
+++ b/src/tests/reservation_tests.cpp
@@ -363,7 +363,7 @@ TEST_F(ReservationTest, ReserveShareWithinRole)
// The filter to decline the offer "forever".
Filters filtersForever;
- filters.set_refuse_seconds(std::numeric_limits<double>::max());
+ filtersForever.set_refuse_seconds(std::numeric_limits<double>::max());
// Decline the offer "forever" in order to force framework2 to
// receive the resources.