projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdce2bd
)
testsuite: be a little nicer with Apache - fixes 'No space left on device' errors
author
Sylvain Beucler
<sylvain.beucler@inria.fr>
Wed, 9 Sep 2015 16:15:14 +0000
(18:15 +0200)
committer
Sylvain Beucler
<sylvain.beucler@inria.fr>
Wed, 9 Sep 2015 16:15:14 +0000
(18:15 +0200)
tests/func/fixtures.sh
patch
|
blob
|
history
diff --git
a/tests/func/fixtures.sh
b/tests/func/fixtures.sh
index f0433f24572a7b4633e60ec6cb04e075afe2c43b..a75184eec179d2dd36ab9a95b19f04fb7afc3f7a 100755
(executable)
--- a/
tests/func/fixtures.sh
+++ b/
tests/func/fixtures.sh
@@
-18,8
+18,9
@@
is_db_down () {
stop_apache () {
if [ "$1" = "--force" ]; then
- # We don't care about data integrity, we're resetting it
- killall -9 $(forge_get_config apache_service)
+ # We don't care about data integrity, avoid default lengthy 'graceful-stop'
+ # (not -9, otherwise `ipcs -s` entries pile up)
+ killall $(forge_get_config apache_service)
fi
echo "Stopping apache"
service $(forge_get_config apache_service) stop