Skip to content

Commit 87fb00d

Browse files
author
bnasslahsen
committed
tests in parallel
1 parent 57f616e commit 87fb00d

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ script:
1919
before_cache:
2020
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
2121
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
22-
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.bin
23-
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.lock
22+
2423
cache:
2524
directories:
2625
- $HOME/.gradle/caches/

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ subprojects {
6161

6262
test {
6363
useJUnitPlatform()
64+
maxParallelForks = Runtime.runtime.availableProcessors()
6465
}
6566

6667
sourceCompatibility = '1.8'

springdoc-openapi-data-rest/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ dependencies {
66
compileOnly 'org.springframework.boot:spring-boot-starter-data-rest'
77
compileOnly 'com.querydsl:querydsl-core'
88
testImplementation 'org.springframework.boot:spring-boot-starter-data-jpa'
9-
testRuntime project(':springdoc-openapi-webmvc-core')
10-
testRuntime 'com.h2database:h2'
9+
testRuntimeOnly project(':springdoc-openapi-webmvc-core')
10+
testRuntimeOnly 'com.h2database:h2'
1111
testCompileOnly 'org.projectlombok:lombok'
1212
testAnnotationProcessor 'org.projectlombok:lombok'
1313
}

springdoc-openapi-security/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies {
44
api project(':springdoc-openapi-common')
55
api 'org.springframework.security:spring-security-core'
66
compileOnly 'org.springframework.security.oauth:spring-security-oauth2'
7-
testRuntime project(':springdoc-openapi-webmvc-core')
8-
testRuntime 'javax.xml:jaxb-impl'
9-
testCompile 'jakarta.servlet:jakarta.servlet-api'
7+
testRuntimeOnly project(':springdoc-openapi-webmvc-core')
8+
testRuntimeOnly 'javax.xml:jaxb-impl'
9+
testImplementation 'jakarta.servlet:jakarta.servlet-api'
1010
}

springdoc-openapi-ui/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ dependencies {
55
api 'org.webjars:swagger-ui'
66
api 'org.webjars:webjars-locator-core'
77
compileOnly 'jakarta.servlet:jakarta.servlet-api'
8-
testRuntime 'jakarta.servlet:jakarta.servlet-api'
8+
testRuntimeOnly 'jakarta.servlet:jakarta.servlet-api'
99
}

springdoc-openapi-webmvc-core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ dependencies {
77
testImplementation 'org.hibernate.validator:hibernate-validator'
88
testImplementation 'javax.money:money-api'
99
compileOnly 'jakarta.servlet:jakarta.servlet-api'
10-
testRuntime 'jakarta.servlet:jakarta.servlet-api'
10+
testRuntimeOnly 'jakarta.servlet:jakarta.servlet-api'
1111
}
1212

0 commit comments

Comments
 (0)