diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-09-13 17:26:19 +0100 |
|---|---|---|
| committer | Matthew Lugg <mlugg@mlugg.co.uk> | 2025-10-18 09:28:42 +0100 |
| commit | 7a5d2a196f2d78eb55f8ef294b4c899e0378f71e (patch) | |
| tree | 1b969a67d606cf818b95ee5e09f4bf5fc9504b44 /lib/std/Thread | |
| parent | d0b92a80224e1ed44434ed8546fa2ff497cc5312 (diff) | |
| download | zig-7a5d2a196f2d78eb55f8ef294b4c899e0378f71e.tar.gz zig-7a5d2a196f2d78eb55f8ef294b4c899e0378f71e.zip | |
tweak tests to avoid timeouts
Diffstat (limited to 'lib/std/Thread')
| -rw-r--r-- | lib/std/Thread/RwLock.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/Thread/RwLock.zig b/lib/std/Thread/RwLock.zig index 0e8da6239f..6f39221e36 100644 --- a/lib/std/Thread/RwLock.zig +++ b/lib/std/Thread/RwLock.zig @@ -301,8 +301,8 @@ test "concurrent access" { const num_writers: usize = 2; const num_readers: usize = 4; - const num_writes: usize = 10000; - const num_reads: usize = num_writes * 2; + const num_writes: usize = 4096; + const num_reads: usize = 8192; const Runner = struct { const Self = @This(); |
