Skip to content

Commit e3e9b34

Browse files
authored
Cleanup build after splitting the tests (#4282)
* Use default failsafe section to override summary location * Remove unnecessary compile step
1 parent 5c0cf87 commit e3e9b34

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,10 +522,10 @@ stop:
522522
test: | start mvn-test-local stop
523523

524524
mvn-test-local:
525-
@TEST_ENV_PROVIDER=local mvn -Dtest=${TEST} clean compile verify
525+
@TEST_ENV_PROVIDER=local mvn -Dtest=${TEST} clean verify
526526

527527
mvn-test:
528-
mvn -Dtest=${TEST} clean compile verify
528+
mvn -Dtest=${TEST} clean verify
529529

530530
package: | start mvn-package stop
531531

pom.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@
354354
<systemPropertyVariables>
355355
<redis-hosts>${redis-hosts}</redis-hosts>
356356
</systemPropertyVariables>
357+
<summaryFile>${project.build.directory}/failsafe-summary.xml</summaryFile>
357358
<!-- Default includes used when invoking failsafe goals directly (e.g., mvn failsafe:integration-test) -->
358359
<includes>
359360
<include>**/*IntegrationTest.java</include>
@@ -403,9 +404,6 @@
403404
<goals>
404405
<goal>verify</goal>
405406
</goals>
406-
<configuration>
407-
<summaryFile>${project.build.directory}/failsafe-summary.xml</summaryFile>
408-
</configuration>
409407
</execution>
410408
</executions>
411409
</plugin>

0 commit comments

Comments
 (0)