From 6af6594146a522dc27916683e237f508126fd77f Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Wed, 7 Jun 2017 09:09:14 -0700 Subject: Fix flag --- tools/run_tests/run_tests.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index f973b6422a..1155893328 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -1247,9 +1247,8 @@ argp.add_argument('--bq_result_table', type=str, nargs='?', help='Upload test results to a specified BQ table.') -argp.add_argument('--auto_set_flakes', dest='auto_set_flakes', action='store_true') -argp.add_argument('--no-auto_set_flakes', dest='auto_set_flakes', action='store_false') -argp.set_defaults('auto_set_flakes', True) +argp.add_argument('--auto_set_flakes', default=True, type=bool, + help='Set flakiness data from historic data') args = argp.parse_args() flaky_tests = set() -- cgit v1.2.3