Package io.stargate.it.http
Class HealthCheckerTest
- java.lang.Object
-
- io.stargate.it.BaseIntegrationTest
-
- io.stargate.it.http.HealthCheckerTest
-
@NotThreadSafe public class HealthCheckerTest extends BaseIntegrationTest
-
-
Field Summary
-
Fields inherited from class io.stargate.it.BaseIntegrationTest
backend
-
-
Constructor Summary
Constructors Constructor Description HealthCheckerTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
healthCheck()
void
liveness()
void
missingReadinessCheck()
void
readiness(String query)
static void
setup(StargateConnectionInfo cluster)
-
Methods inherited from class io.stargate.it.BaseIntegrationTest
backendSupportsSAI, init, isCassandra4, isCassandra41, now, withProtocolV4, withProtocolV5
-
-
-
-
Method Detail
-
setup
@BeforeAll public static void setup(StargateConnectionInfo cluster)
-
liveness
@Test public void liveness() throws IOException
- Throws:
IOException
-
readiness
@ParameterizedTest @CsvSource({",","?check=deadlocks","?check=grpc","?check=datastore","?check=storage"}) public void readiness(String query) throws IOException
- Throws:
IOException
-
missingReadinessCheck
@Test public void missingReadinessCheck() throws IOException
- Throws:
IOException
-
healthCheck
@Test public void healthCheck() throws IOException
- Throws:
IOException
-
-