Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit445783d

Browse files
author
Felipe Zimmerle
committed
tests: Sleeps over 20 seconds if nginx failed to exit immediately
Sometimes nginx failed to exit cleanly in the expected time. This patch addsthe capability to wait for more 20 seconds.
1 parentfb4e1f1 commit445783d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎tests/run-regression-tests-nginx.pl‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,12 @@ sub nginx_stop {
581581

582582
sleep 0.5;
583583
if (-e$PID_FILE) {
584-
msg("Nginx stop failed:$PID_FILE still exists");
584+
vrb("Nginx pid file still exists, sleeping for more 20 seconds.");
585+
sleep 20;
586+
587+
if (-e$PID_FILE) {
588+
msg("Nginx stop failed:$PID_FILE still exists");
589+
}
585590
}
586591

587592
return$rc;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp