File tree Expand file tree Collapse file tree 4 files changed +37
-13
lines changed
native-test/java/org/lfenergy/compas/scl/data
test/java/org/lfenergy/compas/scl/data Expand file tree Collapse file tree 4 files changed +37
-13
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ // SPDX-FileCopyrightText: 2021 Alliander N.V.
2
+ //
3
+ // SPDX-License-Identifier: Apache-2.0
4
+
5
+ package org .lfenergy .compas .scl .data ;
6
+
7
+ import io .quarkus .test .junit .NativeImageTest ;
8
+ import org .lfenergy .compas .scl .data .rest .HealthCheckTest ;
9
+
10
+ @ NativeImageTest
11
+ class NativeHealthCheckIT extends HealthCheckTest {
12
+ // Execute the same tests but in native mode.
13
+ }
Original file line number Diff line number Diff line change 9
9
import static io .restassured .RestAssured .given ;
10
10
11
11
@ QuarkusTest
12
- class HealthCheckTest {
12
+ public class HealthCheckTest {
13
13
@ Test
14
14
void testLivenessEndpoint () {
15
15
given ()
Original file line number Diff line number Diff line change @@ -306,6 +306,29 @@ SPDX-License-Identifier: Apache-2.0
306
306
<quarkus .package.type>native</quarkus .package.type>
307
307
<quarkus .native.additional-build-args>-H:ReflectionConfigurationFiles=reflection-config.json</quarkus .native.additional-build-args>
308
308
</properties >
309
+ <build >
310
+ <plugins >
311
+ <plugin >
312
+ <artifactId >maven-failsafe-plugin</artifactId >
313
+ <version >${surefire-plugin.version} </version >
314
+ <executions >
315
+ <execution >
316
+ <goals >
317
+ <goal >integration-test</goal >
318
+ <goal >verify</goal >
319
+ </goals >
320
+ <configuration >
321
+ <systemPropertyVariables >
322
+ <native .image.path>${project.build.directory} /${project.build.finalName} -runner</native .image.path>
323
+ <java .util.logging.manager>org.jboss.logmanager.LogManager</java .util.logging.manager>
324
+ <maven .home>${maven.home} </maven .home>
325
+ </systemPropertyVariables >
326
+ </configuration >
327
+ </execution >
328
+ </executions >
329
+ </plugin >
330
+ </plugins >
331
+ </build >
309
332
</profile >
310
333
</profiles >
311
334
</project >
You can’t perform that action at this time.
0 commit comments