๐ (test): Drop SmokeIT assertions for management-port endpoints
Changes
1 file changed, +3 -22
MODIFY
src/test/java/de/workaround/SmokeIT.java
+3 -22
@@ -4,27 +4,17 @@
4
4
import org.junit.jupiter.api.Test;
5
5
6
6
import static io.restassured.RestAssured.given;
7
-import static org.hamcrest.CoreMatchers.is;
8
7
9
8
/**
10
9
* Boots the packaged application (JVM jar or native binary) and verifies the service is alive:
11
- * HTTP health endpoint up, public pages (Qute templates) rendering, the OpenAPI document
12
- * served, and the embedded SSH server accepting connections.
10
+ * public pages (Qute templates) rendering, static design-system assets served, and the embedded
11
+ * SSH server accepting connections. Health and OpenAPI live on the management interface
12
+ * (%prod.quarkus.management.enabled=true โ a separate port), so they are not asserted here.
13
13
*/
14
14
@QuarkusIntegrationTest
15
15
class SmokeIT
16
16
{
17
17
@Test
18
- void healthEndpointIsUp()
19
- {
20
- given()
21
- .when().get("/q/health")
22
- .then()
23
- .statusCode(200)
24
- .body("status", is("UP"));
25
- }
26
-
27
- @Test
28
18
void landingPageRenders()
29
19
{
30
20
given()
@@ -43,15 +33,6 @@
43
33
}
44
34
45
35
@Test
46
- void openApiDocumentIsServed()
47
- {
48
- given()
49
- .when().get("/q/openapi")
50
- .then()
51
- .statusCode(200);
52
- }
53
-
54
- @Test
55
36
void designSystemAssetsAreServed()
56
37
{
57
38
given()