From 10019b4cc692853c9d4413009cc1defc4ff7cf69 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov Date: Fri, 13 Dec 2019 17:27:57 +0300 Subject: [PATCH] Check order values in clickhouse-test --- dbms/tests/clickhouse-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/tests/clickhouse-test b/dbms/tests/clickhouse-test index 5f987890aaa..df92b84f10c 100755 --- a/dbms/tests/clickhouse-test +++ b/dbms/tests/clickhouse-test @@ -523,7 +523,7 @@ if __name__ == '__main__': parser.add_argument('test', nargs='*', help='Optional test case name regex') parser.add_argument('-d', '--disabled', action='store_true', default=False, help='Also run disabled tests') parser.add_argument('--stop', action='store_true', default=None, dest='stop', help='Stop on network errors') - parser.add_argument('--order', default='desc', help='Run order (asc, desc, random)') + parser.add_argument('--order', default='desc', choices=['asc', 'desc', 'random'], help='Run order') parser.add_argument('--testname', action='store_true', default=None, dest='testname', help='Make query with test name before test run') parser.add_argument('--hung-check', action='store_true', default=False) parser.add_argument('--force-color', action='store_true', default=False)