- Notifications
You must be signed in to change notification settings - Fork928
Commitfade8ba
authored
fix: fix MeasureLatencyRecvTimeout to accept send=0 (#13477)
Fixes the flake seen here:https://github.com/coder/coder/runs/25832852690Linux is not a real time operating system, and so there is no guarantee that subsequent `time.Now()` `time.Since()` calls will return a non-zero time. This assert is mainly there to ensure we don't return `-1`.1 parent775fc3f commitfade8ba
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
351 | 351 |
| |
352 | 352 |
| |
353 | 353 |
| |
354 |
| - | |
| 354 | + | |
355 | 355 |
| |
356 | 356 |
| |
357 | 357 |
| |
|
0 commit comments
Comments
(0)