git: 94c678cf19ca - main - stress2: A two second timeout is too short

Peter Holm pho at FreeBSD.org
Tue Sep 14 07:51:39 UTC 2021


The branch main has been updated by pho:

URL: https://cgit.FreeBSD.org/src/commit/?id=94c678cf19ca78330cbec1338167127964d3272a

commit 94c678cf19ca78330cbec1338167127964d3272a
Author:     Peter Holm <pho at FreeBSD.org>
AuthorDate: 2021-09-14 07:50:26 +0000
Commit:     Peter Holm <pho at FreeBSD.org>
CommitDate: 2021-09-14 07:50:26 +0000

    stress2: A two second timeout is too short
---
 tools/test/stress2/testcases/mkfifo/mkfifo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/test/stress2/testcases/mkfifo/mkfifo.c b/tools/test/stress2/testcases/mkfifo/mkfifo.c
index 6bd20d6679f9..caeb5e45310b 100644
--- a/tools/test/stress2/testcases/mkfifo/mkfifo.c
+++ b/tools/test/stress2/testcases/mkfifo/mkfifo.c
@@ -58,7 +58,7 @@ reader(void) {
 
 	setproctitle("reader");
 	signal(SIGALRM, handler2);
-	alarm(2);
+	alarm(60);
 	if ((fd = open(path, O_RDWR, 0600)) < 0) {
 		unlink(path);
 		err(1, "open(%s)", path);
@@ -81,7 +81,7 @@ writer(void) {
 	int fd;
 
 	signal(SIGALRM, handler2);
-	alarm(2);
+	alarm(60);
 
 	setproctitle("writer");
 	if ((fd = open(path, O_RDWR, 0600)) < 0) {


More information about the dev-commits-src-main mailing list