Skip to content

Commit 338339d

Browse files
authored
[test] Fix --failfast option (#25587)
1 parent f285b98 commit 338339d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ def parse_args():
497497
options = parser.parse_args()
498498

499499
if options.failfast:
500-
if options.max_failures != 0:
500+
if options.max_failures != 2**31 - 1:
501501
utils.exit_with_error('--failfast and --max-failures are mutually exclusive!')
502502
options.max_failures = 0
503503

0 commit comments

Comments
 (0)