Skip to content

Commit

Permalink
8279505: Update documentation for RETRY_COUNT and REPEAT_COUNT
Browse files Browse the repository at this point in the history
Reviewed-by: erikj, serb
  • Loading branch information
shipilev committed Jan 6, 2022
1 parent 2dbb936 commit bc12381
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/testing.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ <h4 id="launcher_options">LAUNCHER_OPTIONS</h4>
<h4 id="aot_modules-1">AOT_MODULES</h4>
<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>
<h4 id="retry_count">RETRY_COUNT</h4>
<p>Retry failed tests up to a set number of times. Defaults to 0.</p>
<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>
<h4 id="repeat_count">REPEAT_COUNT</h4>
<p>Repeat the tests for a set number of times. Defaults to 0.</p>
<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>
<h3 id="gtest-keywords">Gtest keywords</h3>
<h4 id="repeat">REPEAT</h4>
<p>The number of times to repeat the tests (<code>--gtest_repeat</code>).</p>
Expand Down
8 changes: 6 additions & 2 deletions doc/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,11 +419,15 @@ modules. If multiple modules are specified, they should be separated by space

#### RETRY_COUNT

Retry failed tests up to a set number of times. Defaults to 0.
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.

#### REPEAT_COUNT

Repeat the tests for a set number of times. Defaults to 0.
Repeat the tests up to a set number of times, stopping at first failure.
This helps to reproduce intermittent test failures.
Defaults to 0.

### Gtest keywords

Expand Down

0 comments on commit bc12381

Please sign in to comment.