You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mz...@apache.org on 2018/12/06 22:45:31 UTC

[mesos] 03/06: Renamed one allocator benchmark to be more descriptive.

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

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

commit e6fa3e3efc39971fea6157cd8d3e3a3bebbac94d
Author: Meng Zhu <mz...@mesosphere.io>
AuthorDate: Thu Oct 18 21:45:14 2018 -0700

    Renamed one allocator benchmark to be more descriptive.
    
    Renamed `Allocations` to `MultiFrameworkAllocations`.
    Also removed `_TestBase` from the fixture name.
    
    Review: https://reviews.apache.org/r/69094
---
 src/tests/hierarchical_allocator_benchmarks.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/tests/hierarchical_allocator_benchmarks.cpp b/src/tests/hierarchical_allocator_benchmarks.cpp
index 65e9790..a61f886 100644
--- a/src/tests/hierarchical_allocator_benchmarks.cpp
+++ b/src/tests/hierarchical_allocator_benchmarks.cpp
@@ -316,11 +316,15 @@ private:
 };
 
 
+class HierarchicalAllocations_BENCHMARK :
+  public HierarchicalAllocations_BENCHMARK_TestBase {};
+
+
 // This benchmark launches frameworks with different profiles (number of tasks,
 // task sizes and etc.) and prints out statistics such as total tasks launched,
 // cluster utilization and allocation latency. The test has a timeout of 30
 // seconds.
-TEST_F(HierarchicalAllocations_BENCHMARK_TestBase, Allocations)
+TEST_F(HierarchicalAllocations_BENCHMARK, MultiFrameworkAllocations)
 {
   // Pause the clock because we want to manually drive the allocations.
   Clock::pause();