com.atlassian.confluence
Class HealthCheckAcceptanceTest

java.lang.Object
  extended by com.atlassian.confluence.HealthCheckAcceptanceTest

public class HealthCheckAcceptanceTest
extends Object

Checks that HealthChecks as reported by the health check plugin under /rest/healthCheck/1.0/checkDetails/ pass Health checks are used by HOPS to monitor the 'healthiness' of Confluence.


Field Summary
 org.junit.rules.TestName testName
           
 
Constructor Summary
HealthCheckAcceptanceTest()
           
 
Method Summary
 void setUp()
           
 void testAllHealthChecksPass()
           
 void testConfluenceRequiredHealthChecksEnabled()
          Test that the check from the confluence-required-health-checks plugin is actually present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testName

public org.junit.rules.TestName testName
Constructor Detail

HealthCheckAcceptanceTest

public HealthCheckAcceptanceTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testAllHealthChecksPass

public void testAllHealthChecksPass()
                             throws Exception
Throws:
Exception

testConfluenceRequiredHealthChecksEnabled

public void testConfluenceRequiredHealthChecksEnabled()
                                               throws Exception
Test that the check from the confluence-required-health-checks plugin is actually present.

Healthchecks can fail by being silently broken and missing; confluence-required-health-checks validates that other required checks are not missing, and testAllHealthChecksPass() makes sure it passes; this method makes sure it is not itself missing.

Throws:
Exception


Copyright © 2003–2015 Atlassian. All rights reserved.