diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-10-10 13:35:32 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-10-10 13:35:32 +0200 |
| commit | ad1cf253521e3107ee1590ad5acf9da343edb93d (patch) | |
| tree | 366ff0d18584ed10e84ba9139b4c5c29f4c93d02 /tests | |
| parent | ece213afca742bb91e9328230fd21b6b94c85662 (diff) | |
Increase timeout for `posix.test_pthreads`.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/core/sys/posix/posix.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/core/sys/posix/posix.odin b/tests/core/sys/posix/posix.odin index 68a6a87cd..7a7cbd392 100644 --- a/tests/core/sys/posix/posix.odin +++ b/tests/core/sys/posix/posix.odin @@ -79,7 +79,7 @@ test_dirent :: proc(t: ^testing.T) { } name := string(cstring(raw_data(entry.d_name[:]))) - testing.expectf(t, name in test_map, "%v in %v", name, test_map) + testing.expectf(t, name in test_map, "scandir: %v in %v", name, test_map) } } @@ -109,7 +109,7 @@ test_dirent :: proc(t: ^testing.T) { } name := string(cstring(raw_data(entry.d_name[:]))) - testing.expectf(t, name in test_map, "%v in %v", name, test_map) + testing.expectf(t, name in test_map, "readdir: %v in %v", name, test_map) } } } @@ -220,7 +220,7 @@ test_stat :: proc(t: ^testing.T) { @(test) test_pthreads :: proc(t: ^testing.T) { - testing.set_fail_timeout(t, time.Second) + testing.set_fail_timeout(t, 3 * time.Second) NTHREADS :: 3 thread_ids: [NTHREADS]posix.pthread_t |