Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 4c0d55c

Browse files
committed
#166: Fixes test case for unhealthy event.
1 parent 4901ef8 commit 4c0d55c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/shpec/operation_shpec.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2482,12 +2482,12 @@ function test_healthcheck ()
24822482
it "Returns unhealthy on failure."
24832483
docker exec -t \
24842484
apache-php.1 \
2485-
bash -c "mv \
2486-
/usr/sbin/httpd \
2487-
/usr/sbin/httpd2" \
2485+
bash -c "rm -f /usr/sbin/httpd; \
2486+
mv /usr/sbin/httpd.worker \
2487+
/usr/sbin/httpd.worker2" \
24882488
&& docker exec -t \
24892489
apache-php.1 \
2490-
bash -c '/usr/sbin/httpd2 -k stop'
2490+
bash -c '/usr/sbin/httpd.worker2 -k stop'
24912491

24922492
events_since_timestamp="$(
24932493
date +%s

0 commit comments

Comments
 (0)