| author | |
| committer | |
| log | 678bd4fc8919d0683435712fbf256c3fbd4821f9 |
| tree | ac9069db1522a237caa556a8f2ae56539ac5b6e2 |
| parent | 9d306e5c77b19fdb8a211f5460d4fd4a7d1fb915 |
raise the timeout to 100ms to be sure that if it fails (timeout is returned) it is due to a real problem.
the test shouldn't be longer: it will wait more time only on failure.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/reset_event.zig+1-1| ... | ... | @@ -450,7 +450,7 @@ test "ResetEvent" { |
| 450 | 450 | fn timedWaiter(self: *Self) !void { |
| 451 | 451 | self.in.wait(); |
| 452 | 452 | testing.expectError(error.TimedOut, self.out.timedWait(time.ns_per_us)); |
| 453 | try self.out.timedWait(time.ns_per_ms * 10); | |
| 453 | try self.out.timedWait(time.ns_per_ms * 100); | |
| 454 | 454 | testing.expect(self.value == 5); |
| 455 | 455 | } |
| 456 | 456 | }; |