tests: 002-reuseport-close-unused-fds.t: the order of the logs generated by multiple processes is uncertain. (#827)

pull/828/head
lijunlong 4 months ago committed by GitHub
parent 733ab1d043
commit 74d747d9b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      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)
/

Loading…
Cancel
Save