Skip to content

Commit d02c7c2

Browse files
committed
No tests profile
1 parent 175bfff commit d02c7c2

File tree

3 files changed

+17
-27
lines changed

3 files changed

+17
-27
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ jobs:
3030
restore-keys: ${{ runner.os }}-maven-
3131

3232
- name: Run Tests
33-
run: mvn verify -Ptests
33+
run: mvn verify
3434

docs/modules/ROOT/pages/hazelcast-embedded-springboot.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Again, you will see the value in the output (`{"value":"hazelcast"}`), because t
9292
To run the integration tests, run the following command in terminal. But before, make sure to kill the running application instances.
9393

9494
----
95-
mvn verify -Ptests
95+
mvn verify
9696
----
9797

9898
If the tests pass, you’ll see a similar output to the following:

pom.xml

Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,24 @@
2525
<groupId>org.springframework.boot</groupId>
2626
<artifactId>spring-boot-maven-plugin</artifactId>
2727
</plugin>
28+
<plugin>
29+
<artifactId>maven-failsafe-plugin</artifactId>
30+
<version>3.5.2</version>
31+
<executions>
32+
<execution>
33+
<goals>
34+
<goal>integration-test</goal>
35+
<goal>verify</goal>
36+
</goals>
37+
</execution>
38+
</executions>
39+
<configuration>
40+
<argLine>-Djava.net.preferIPv4Stack=true</argLine>
41+
</configuration>
42+
</plugin>
2843
</plugins>
2944
</build>
3045

31-
<profiles>
32-
<profile>
33-
<id>tests</id>
34-
<build>
35-
<plugins>
36-
<plugin>
37-
<artifactId>maven-failsafe-plugin</artifactId>
38-
<version>3.5.2</version>
39-
<executions>
40-
<execution>
41-
<goals>
42-
<goal>integration-test</goal>
43-
<goal>verify</goal>
44-
</goals>
45-
</execution>
46-
</executions>
47-
<configuration>
48-
<argLine>-Djava.net.preferIPv4Stack=true</argLine>
49-
</configuration>
50-
</plugin>
51-
</plugins>
52-
</build>
53-
</profile>
54-
</profiles>
55-
5646
<dependencies>
5747
<dependency>
5848
<groupId>org.springframework.boot</groupId>

0 commit comments

Comments
 (0)