Page MenuHomeDevCentral

Check if Apache is up and SuEXEC installed on Ysul
ClosedPublic

Authored by dereckson on May 12 2016, 09:49.
Tags
None
Referenced Files
F3911749: D371.diff
Thu, Dec 19, 03:47
Unknown Object (File)
Fri, Dec 13, 21:05
Unknown Object (File)
Fri, Dec 13, 05:41
Unknown Object (File)
Sun, Dec 8, 16:29
Unknown Object (File)
Sat, Dec 7, 13:47
Unknown Object (File)
Sat, Dec 7, 13:12
Unknown Object (File)
Fri, Dec 6, 21:41
Unknown Object (File)
Thu, Dec 5, 14:23
Subscribers
None

Details

Summary

Minimal tests for T824:

  • Is Apache up?
  • Does SuEXEC binary exist?

Runs currently only on Ysul.

Test Plan

Run it on Ysul, Apache up and down.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to Check if Apache is up and SuEXEC installed on Ysul.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: amj.

Test run on Ysul

When Apache is down on the expected port
$ phpunit YsulApacheTest.php
PHPUnit 4.4.0 by Sebastian Bergmann.

F.

Time: 97 ms, Memory: 3.00Mb

There was 1 failure:

1) YsulApacheTest::testApacheIsLive
Apache looks down.
Failed asserting that 0 matches expected 200.

/usr/home/dereckson/dev/nasqueron/ops/operations/tests/prod-environment-behaves-correctly/traits/assertHttp.php:13
/usr/home/dereckson/dev/nasqueron/ops/operations/tests/prod-environment-behaves-correctly/YsulApacheTest.php:25

FAILURES!
Tests: 2, Assertions: 2, Failures: 1.
When Apache is up on the expected port
$ phpunit YsulApacheTest.php
PHPUnit 4.4.0 by Sebastian Bergmann.

..

Time: 99 ms, Memory: 2.75Mb

OK (2 tests, 2 assertions)
amj edited edge metadata.
This revision is now accepted and ready to land.May 31 2016, 21:14
This revision was automatically updated to reflect the committed changes.