From 7f331fa2fbd108a4a39ad20845dcc012a86e36dd Mon Sep 17 00:00:00 2001 From: Edward Lemur Date: Mon, 8 Jan 2018 17:35:51 +0100 Subject: [PATCH] Add metric name for MinVideoAndAudioBitRate. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It shouldn't be empty. As it was before it printed RESULT min_test_bitrate_no_allocation_strategy: = 80 kbps Whereas now it prints RESULT min_test_bitrate_no_allocation_strategy: min_bitrate= 80 kbps Bug: webrtc:7156 Change-Id: Ie86e3912d296d6d7bd6936d1709df9d2dc7fc143 Reviewed-on: https://webrtc-review.googlesource.com/38040 Reviewed-by: Patrik Höglund Reviewed-by: Henrik Andreassson Commit-Queue: Edward Lemur Cr-Commit-Position: refs/heads/master@{#21529} --- call/call_perf_tests.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/call/call_perf_tests.cc b/call/call_perf_tests.cc index f0c781c450..f457546651 100644 --- a/call/call_perf_tests.cc +++ b/call/call_perf_tests.cc @@ -894,11 +894,11 @@ void CallPerfTest::TestMinAudioVideoBitrate( } EXPECT_GT(last_passed_test_bitrate, -1) << "Minimum supported bitrate out of the test scope"; - webrtc::test::PrintResult("min_test_bitrate_", - use_bitrate_allocation_strategy_ - ? "with_allocation_strategy" - : "no_allocation_strategy", - "", last_passed_test_bitrate, "kbps", false); + webrtc::test::PrintResult( + "min_test_bitrate_", + use_bitrate_allocation_strategy_ ? "with_allocation_strategy" + : "no_allocation_strategy", + "min_bitrate", last_passed_test_bitrate, "kbps", false); } void OnCallsCreated(Call* sender_call, Call* receiver_call) override {