aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-10-10 13:35:32 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-10-10 13:35:32 +0200
commitad1cf253521e3107ee1590ad5acf9da343edb93d (patch)
tree366ff0d18584ed10e84ba9139b4c5c29f4c93d02 /tests
parentece213afca742bb91e9328230fd21b6b94c85662 (diff)
Increase timeout for `posix.test_pthreads`.
Diffstat (limited to 'tests')
-rw-r--r--tests/core/sys/posix/posix.odin6
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