From e419532f8ca8a350962ea2eb95d63f0c27d18344 Mon Sep 17 00:00:00 2001 From: lijunlong Date: Mon, 11 Apr 2022 17:43:59 +0800 Subject: [PATCH] tests: 002-reuseport-close-unused-fds.t: the order of the logs generated by multiple processes is uncertain. --- t/002-reuseport-close-unused-fds.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/002-reuseport-close-unused-fds.t b/t/002-reuseport-close-unused-fds.t index a0290cc..febf4e2 100644 --- a/t/002-reuseport-close-unused-fds.t +++ b/t/002-reuseport-close-unused-fds.t @@ -58,10 +58,13 @@ GET /t [error] --- grep_error_log eval: qr/\[debug\] .*? closing unused fd:\d+ listening on 127\.0\.0\.\d+:12345/ --- grep_error_log_out eval -qr/\[debug\] .*? closing unused fd:\d+ listening on 127\.0\.0\.1:12345 +qr/(\[debug\] .*? closing unused fd:\d+ listening on 127\.0\.0\.1:12345 \[debug\] .*? closing unused fd:\d+ listening on 127\.0\.0\.2:12345 \[debug\] .*? closing unused fd:\d+ listening on 127\.0\.0\.1:12345 +\[debug\] .*? closing unused fd:\d+ listening on 127\.0\.0\.2:12345)|(\[debug\] .*? closing unused fd:\d+ listening on 127\.0\.0\.1:12345 +\[debug\] .*? closing unused fd:\d+ listening on 127\.0\.0\.1:12345 \[debug\] .*? closing unused fd:\d+ listening on 127\.0\.0\.2:12345 +\[debug\] .*? closing unused fd:\d+ listening on 127\.0\.0\.2:12345) /