From 74d747d9b47b9cd27ea8e820d5aa4d6f8f874006 Mon Sep 17 00:00:00 2001 From: lijunlong Date: Tue, 12 Apr 2022 23:25:45 +0800 Subject: [PATCH] tests: 002-reuseport-close-unused-fds.t: the order of the logs generated by multiple processes is uncertain. (#827) --- 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) /