Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit ae4c633

Browse files
author
Yuri Nesterenko
committed
8279505: Update documentation for RETRY_COUNT and REPEAT_COUNT
Backport-of: bc12381105ef5ba14f99304a220817e97c9a99b5
1 parent 2cfbdff commit ae4c633

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
@@ -173,9 +173,9 @@ <h4 id="vm_options-1">VM_OPTIONS</h4>
173173
<h4 id="aot_modules-1">AOT_MODULES</h4>
174174
<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>
175175
<h4 id="retry_count">RETRY_COUNT</h4>
176-
<p>Retry failed tests up to a set number of times. Defaults to 0.</p>
176+
<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>
177177
<h4 id="repeat_count">REPEAT_COUNT</h4>
178-
<p>Repeat the tests for a set number of times. Defaults to 0.</p>
178+
<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>
179179
<h3 id="gtest-keywords">Gtest keywords</h3>
180180
<h4 id="repeat">REPEAT</h4>
181181
<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
@@ -348,11 +348,15 @@ modules. If multiple modules are specified, they should be separated by space
348348

349349
#### RETRY_COUNT
350350

351-
Retry failed tests up to a set number of times. Defaults to 0.
351+
Retry failed tests up to a set number of times, until they pass.
352+
This allows to pass the tests with intermittent failures.
353+
Defaults to 0.
352354

353355
#### REPEAT_COUNT
354356

355-
Repeat the tests for a set number of times. Defaults to 0.
357+
Repeat the tests up to a set number of times, stopping at first failure.
358+
This helps to reproduce intermittent test failures.
359+
Defaults to 0.
356360

357361
### Gtest keywords
358362

0 commit comments

Comments
 (0)