Skip to content

Commit e8a5372

Browse files
committed
8279505: Update documentation for RETRY_COUNT and REPEAT_COUNT
Backport-of: bc12381105ef5ba14f99304a220817e97c9a99b5
1 parent eea537d commit e8a5372

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
@@ -157,9 +157,9 @@ <h4 id="vm_options-1">VM_OPTIONS</h4>
157157
<h4 id="aot_modules-1">AOT_MODULES</h4>
158158
<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>
159159
<h4 id="retry_count">RETRY_COUNT</h4>
160-
<p>Retry failed tests up to a set number of times. Defaults to 0.</p>
160+
<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>
161161
<h4 id="repeat_count">REPEAT_COUNT</h4>
162-
<p>Repeat the tests for a set number of times. Defaults to 0.</p>
162+
<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>
163163
<h3 id="gtest-keywords">Gtest keywords</h3>
164164
<h4 id="repeat">REPEAT</h4>
165165
<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
@@ -317,11 +317,15 @@ modules. If multiple modules are specified, they should be separated by space
317317

318318
#### RETRY_COUNT
319319

320-
Retry failed tests up to a set number of times. Defaults to 0.
320+
Retry failed tests up to a set number of times, until they pass.
321+
This allows to pass the tests with intermittent failures.
322+
Defaults to 0.
321323

322324
#### REPEAT_COUNT
323325

324-
Repeat the tests for a set number of times. Defaults to 0.
326+
Repeat the tests up to a set number of times, stopping at first failure.
327+
This helps to reproduce intermittent test failures.
328+
Defaults to 0.
325329

326330
### Gtest keywords
327331

0 commit comments

Comments
 (0)