Skip to content

Commit 91e9531

Browse files
committed
Clarify test timeout evironment variables
1 parent f795e8a commit 91e9531

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libtest/cli.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ fn optgroups() -> getopts::Options {
125125
`RUST_TEST_TIME_DOCTEST` environment variables.
126126
127127
Expected format of environment variable is `VARIABLE=WARN_TIME,CRITICAL_TIME`.
128+
Durations must be specified in milliseconds, e.g. `500,2000` means that the warn time
129+
is 0.5 seconds, and the critical time is 2 seconds.
128130
129131
Not available for --format=terse",
130132
"plain|colored",

0 commit comments

Comments
 (0)