Commit 2f881ed
committed
fix(assert): fail Never when condition does not return before timeout
Track whether the condition completed at least once. If waitFor
elapses before the first evaluation returns, report a failure instead
of passing without checking.
Fixes #16541 parent 12f8b56 commit 2f881ed
2 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2166 | 2166 | | |
2167 | 2167 | | |
2168 | 2168 | | |
| 2169 | + | |
2169 | 2170 | | |
2170 | 2171 | | |
2171 | 2172 | | |
2172 | 2173 | | |
2173 | 2174 | | |
2174 | 2175 | | |
2175 | 2176 | | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
2176 | 2180 | | |
2177 | 2181 | | |
2178 | 2182 | | |
2179 | 2183 | | |
2180 | 2184 | | |
| 2185 | + | |
2181 | 2186 | | |
2182 | 2187 | | |
2183 | 2188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3634 | 3634 | | |
3635 | 3635 | | |
3636 | 3636 | | |
| 3637 | + | |
| 3638 | + | |
| 3639 | + | |
| 3640 | + | |
| 3641 | + | |
| 3642 | + | |
| 3643 | + | |
| 3644 | + | |
| 3645 | + | |
| 3646 | + | |
| 3647 | + | |
| 3648 | + | |
3637 | 3649 | | |
3638 | 3650 | | |
3639 | 3651 | | |
| |||
0 commit comments