Skip to content

Commit bc12381

Browse files
committed
8279505: Update documentation for RETRY_COUNT and REPEAT_COUNT
Reviewed-by: erikj, serb
1 parent 2dbb936 commit bc12381

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

doc/testing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ <h4 id="launcher_options">LAUNCHER_OPTIONS</h4>
193193
<h4 id="aot_modules-1">AOT_MODULES</h4>
194194
<p>Generate AOT modules before testing for the specified module, or set of modules. If multiple modules are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
195195
<h4 id="retry_count">RETRY_COUNT</h4>
196-
<p>Retry failed tests up to a set number of times. Defaults to 0.</p>
196+
<p>Retry failed tests up to a set number of times, until they pass. This allows to pass the tests with intermittent failures. Defaults to 0.</p>
197197
<h4 id="repeat_count">REPEAT_COUNT</h4>
198-
<p>Repeat the tests for a set number of times. Defaults to 0.</p>
198+
<p>Repeat the tests up to a set number of times, stopping at first failure. This helps to reproduce intermittent test failures. Defaults to 0.</p>
199199
<h3 id="gtest-keywords">Gtest keywords</h3>
200200
<h4 id="repeat">REPEAT</h4>
201201
<p>The number of times to repeat the tests (<code>--gtest_repeat</code>).</p>

doc/testing.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,11 +419,15 @@ modules. If multiple modules are specified, they should be separated by space
419419

420420
#### RETRY_COUNT
421421

422-
Retry failed tests up to a set number of times. Defaults to 0.
422+
Retry failed tests up to a set number of times, until they pass.
423+
This allows to pass the tests with intermittent failures.
424+
Defaults to 0.
423425

424426
#### REPEAT_COUNT
425427

426-
Repeat the tests for a set number of times. Defaults to 0.
428+
Repeat the tests up to a set number of times, stopping at first failure.
429+
This helps to reproduce intermittent test failures.
430+
Defaults to 0.
427431

428432
### Gtest keywords
429433

0 commit comments

Comments
 (0)