[libsoup/apache-tests-failure] tests: make sure that apache is killed if it fails to gracefully stop
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/apache-tests-failure] tests: make sure that apache is killed if it fails to gracefully stop
- Date: Fri, 15 Mar 2019 13:46:29 +0000 (UTC)
commit 16195c83b90c573aabcda34a54689590a9022844
Author: Claudio Saavedra <csaavedra igalia com>
Date: Fri Mar 15 15:43:10 2019 +0200
tests: make sure that apache is killed if it fails to gracefully stop
This should fix issues with CI in gitlab when a stale apache instance
is still running.
Fixes #142
tests/test-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/test-utils.c b/tests/test-utils.c
index 7a21fa02..f2f5ca31 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -211,7 +211,7 @@ apache_cleanup (void)
} else
pid = 0;
- if (!apache_cmd ("graceful-stop"))
+ if (apache_cmd ("graceful-stop"))
return;
apache_running = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]