Skip to content

Commit 363d8db

Browse files
rebootable_client "warning"
See Codeception#132 (comment)
1 parent 9fd1507 commit 363d8db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Codeception/Module/Symfony/TimeAssertionsTrait.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ trait TimeAssertionsTrait
1919
* Also, note that using code coverage can significantly increase the time it takes to resolve a request,
2020
* which could lead to unreliable results when used together.
2121
*
22+
* It is recommended to set [`rebootable_client`](https://codeception.com/docs/modules/Symfony#Config) to `true` (=default),
23+
* cause otherwise this assertion gives false results if you access multiple pages in a row, or if your app performs a redirect.
24+
*
2225
* @param int|float $expectedMilliseconds The expected time in milliseconds
2326
*/
2427
public function seeRequestTimeIsLessThan($expectedMilliseconds): void

0 commit comments

Comments
 (0)