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
Unknown Object (File)
Tue, Nov 12, 15:49
Unknown Object (File)
Mon, Nov 11, 01:25
Unknown Object (File)
Thu, Nov 7, 21:43
Unknown Object (File)
Thu, Nov 7, 17:58
Unknown Object (File)
Thu, Nov 7, 14:11
Unknown Object (File)
Thu, Nov 7, 13:21
Unknown Object (File)
Thu, Nov 7, 13:15
Unknown Object (File)
Thu, Nov 7, 12:45
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
No Lint Coverage
Unit
No Test Coverage
Branch
T818
Build Status
Buildable 498
Build 613: arc lint + arc unit

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.