git: 98ef51d54906 - main - Revert "tests/fdgrowtable: open more files in the threaded case"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Feb 2024 01:54:06 UTC
The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=98ef51d549064318c1cdc9cbea7cf499b9a1d34b commit 98ef51d549064318c1cdc9cbea7cf499b9a1d34b Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2024-02-24 01:47:29 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2024-02-24 01:47:29 +0000 Revert "tests/fdgrowtable: open more files in the threaded case" This reverts commit fa6a02f50e65c47540f51b3177f5080bc6af168e. It makes the test less probable to fail, but it doesn't fix the root issue - that on entry the parent process may have already a large file descriptor table. --- tests/sys/kern/fdgrowtable_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/sys/kern/fdgrowtable_test.c b/tests/sys/kern/fdgrowtable_test.c index 2eea274a64ee..826599ecf836 100644 --- a/tests/sys/kern/fdgrowtable_test.c +++ b/tests/sys/kern/fdgrowtable_test.c @@ -151,7 +151,6 @@ ATF_TC_BODY(free_oldtables, tc) static _Noreturn void * exec_thread(void *args) { - openfiles(128); for (;;) sleep(1); }