From 9599fd44144f34022ea85d2b5201ea25255af6e4 Mon Sep 17 00:00:00 2001 From: Edward Lesmes Date: Mon, 12 Mar 2018 16:43:05 -0400 Subject: [PATCH] Make num-retries default a string. TBR=phoglund@webrtc.org Bug: chromium:755660 Change-Id: I770a79a78721a312b603aec40d23689245a48001 Reviewed-on: https://webrtc-review.googlesource.com/61343 Reviewed-by: Edward Lemur Commit-Queue: Edward Lemur Cr-Commit-Position: refs/heads/master@{#22392} --- audio/test/low_bandwidth_audio_test.py | 2 +- examples/androidtests/video_quality_loopback_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/test/low_bandwidth_audio_test.py b/audio/test/low_bandwidth_audio_test.py index 62c3adf539..b81a0476fa 100755 --- a/audio/test/low_bandwidth_audio_test.py +++ b/audio/test/low_bandwidth_audio_test.py @@ -55,7 +55,7 @@ def _ParseArgs(): parser.add_argument('--android', action='store_true', help='Perform the test on a connected Android device instead.') parser.add_argument('--adb-path', help='Path to adb binary.', default='adb') - parser.add_argument('--num-retries', default=0, + parser.add_argument('--num-retries', default='0', help='Number of times to retry the test on Android.') parser.add_argument('--isolated-script-test-perf-output', help='Where to store perf results in chartjson format.', default=None) diff --git a/examples/androidtests/video_quality_loopback_test.py b/examples/androidtests/video_quality_loopback_test.py index 66a981bd83..b95f99f341 100755 --- a/examples/androidtests/video_quality_loopback_test.py +++ b/examples/androidtests/video_quality_loopback_test.py @@ -86,7 +86,7 @@ def _ParseArgs(): parser.add_argument('--temp_dir', help='A temporary directory to put the output.') parser.add_argument('--adb-path', help='Path to adb binary.', default='adb') - parser.add_argument('--num-retries', default=0, + parser.add_argument('--num-retries', default='0', help='Number of times to retry the test on Android.') parser.add_argument('--isolated-script-test-perf-output', help='Where to store perf results in chartjson format.', default=None)