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
F2827368: D371.id917.diff
Thu, Apr 18, 23:51
Unknown Object (File)
Wed, Apr 17, 23:36
Unknown Object (File)
Mon, Apr 15, 04:07
Unknown Object (File)
Sun, Apr 14, 13:29
Unknown Object (File)
Sun, Apr 14, 07:08
Unknown Object (File)
Sat, Apr 13, 02:58
Unknown Object (File)
Sat, Apr 13, 01:20
Unknown Object (File)
Wed, Apr 10, 10:22
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.