From 4a73cd436c331530e9f3001c6af37214db04bc1a Mon Sep 17 00:00:00 2001 From: Sebastian Jansson Date: Sat, 17 Mar 2018 15:28:43 +0100 Subject: [PATCH] Adding tests of TaskQueueCongestionControl field trial. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding TaskQueueCongestionControl field trial to parametrized end to end tests. This ensures that enabling the field trial will not break the functionality tested in the tests. Bug: webrtc:8415 Change-Id: Ieac75b840f18af2d9d5d35f976e119a8b3e7bfc0 Reviewed-on: https://webrtc-review.googlesource.com/61722 Commit-Queue: Sebastian Jansson Reviewed-by: Erik Språng Cr-Commit-Position: refs/heads/master@{#22498} --- video/end_to_end_tests/call_operation_tests.cc | 10 ++++++---- video/end_to_end_tests/transport_feedback_tests.cc | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/video/end_to_end_tests/call_operation_tests.cc b/video/end_to_end_tests/call_operation_tests.cc index 361bdf7a2a..d90b85ef05 100644 --- a/video/end_to_end_tests/call_operation_tests.cc +++ b/video/end_to_end_tests/call_operation_tests.cc @@ -32,10 +32,12 @@ class CallOperationEndToEndTest test::ScopedFieldTrials field_trial_; }; -INSTANTIATE_TEST_CASE_P(RoundRobin, - CallOperationEndToEndTest, - ::testing::Values("WebRTC-RoundRobinPacing/Disabled/", - "WebRTC-RoundRobinPacing/Enabled/")); +INSTANTIATE_TEST_CASE_P( + FieldTrials, + CallOperationEndToEndTest, + ::testing::Values("WebRTC-RoundRobinPacing/Disabled/", + "WebRTC-RoundRobinPacing/Enabled/", + "WebRTC-TaskQueueCongestionControl/Enabled/")); TEST_P(CallOperationEndToEndTest, ReceiverCanBeStartedTwice) { CreateCalls(Call::Config(event_log_.get()), Call::Config(event_log_.get())); diff --git a/video/end_to_end_tests/transport_feedback_tests.cc b/video/end_to_end_tests/transport_feedback_tests.cc index 9c523eab58..e8f5b23508 100644 --- a/video/end_to_end_tests/transport_feedback_tests.cc +++ b/video/end_to_end_tests/transport_feedback_tests.cc @@ -33,10 +33,12 @@ class TransportFeedbackEndToEndTest test::ScopedFieldTrials field_trial_; }; -INSTANTIATE_TEST_CASE_P(RoundRobin, - TransportFeedbackEndToEndTest, - ::testing::Values("WebRTC-RoundRobinPacing/Disabled/", - "WebRTC-RoundRobinPacing/Enabled/")); +INSTANTIATE_TEST_CASE_P( + FieldTrials, + TransportFeedbackEndToEndTest, + ::testing::Values("WebRTC-RoundRobinPacing/Disabled/", + "WebRTC-RoundRobinPacing/Enabled/", + "WebRTC-TaskQueueCongestionControl/Enabled/")); TEST_P(TransportFeedbackEndToEndTest, AssignsTransportSequenceNumbers) { static const int kExtensionId = 5;