Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: ./mvnw -ntp -B org.apache.maven.plugins:maven-dependency-plugin:3.8.1:go-offline de.qaware.maven:go-offline-maven-plugin:1.2.8:resolve-dependencies -fn

- name: Build
run: ./mvnw -ntp -B clean install
run: ./mvnw -ntp -B clean install -T1 -Pci

- name: Verify formatting
run: scripts/no-git-changes.sh
Expand Down
24 changes: 24 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,30 @@
</build>
</profile>

<profile>
<id>ci</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>false</redirectTestOutputToFile>
<forkCount>1</forkCount>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>false</redirectTestOutputToFile>
<forkCount>1</forkCount>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>openrewrite</id>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import io.vertx.core.Vertx;
import io.vertx.junit5.VertxTestContext;
import java.util.List;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import org.junit.jupiter.api.*;
Expand All @@ -50,8 +51,9 @@ static void setupMockServer() {

@Test
@DisplayName("All requests should be answered")
void allRequestsShouldBeAnswered(VertxTestContext testContext) {
void allRequestsShouldBeAnswered(VertxTestContext testContext) throws InterruptedException {
sendRequests(10).compose(responses -> assertAllRequestsAnswered(responses, testContext));
testContext.awaitCompletion(1, TimeUnit.MINUTES);
}

@Nested
Expand Down
Loading