This is an automated email from the ASF dual-hosted git repository.

asekretenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 92f8768  Fixed build of tests broken in 
9bd3ea4665402943af070e64327e8d7dc341e301.
92f8768 is described below

commit 92f8768da1b71b397bbd0938b673c0e2f52bee95
Author: Andrei Sekretenko <asekrete...@apache.org>
AuthorDate: Mon Apr 6 17:41:54 2020 +0200

    Fixed build of tests broken in 9bd3ea4665402943af070e64327e8d7dc341e301.
    
    Added a bracket missing due to improper last-minute adjustment
    before committing https://reviews.apache.org/r/72315
---
 src/tests/hierarchical_allocator_tests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/hierarchical_allocator_tests.cpp 
b/src/tests/hierarchical_allocator_tests.cpp
index d294522..413c035 100644
--- a/src/tests/hierarchical_allocator_tests.cpp
+++ b/src/tests/hierarchical_allocator_tests.cpp
@@ -1105,7 +1105,7 @@ TEST_F(HierarchicalAllocatorTest, 
AddAgentWithUnknownFrameworkAndMaintenance)
   // Add agent2 unavailability to trigger inverse offer generation.
   allocator->updateUnavailability(
       agent2.id(),
-      protobuf::maintenance::createUnavailability(Clock::now() + Seconds(60));
+      protobuf::maintenance::createUnavailability(Clock::now() + Seconds(60)));
 
   // Check that resources of agent2 get inverse offered.
   Future<Deallocation> deallocation = deallocations.get();

Reply via email to