aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-04-24 01:19:50 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2023-04-25 01:44:04 +0200
commit1af73e7d7c88f1996ea955a7fc486c9c869648ef (patch)
tree5436a5b6b731b3c3c255c0ffb439d3a4516efffe
parentchore(deps): bump dependencies (diff)
downloadrefinery-1af73e7d7c88f1996ea955a7fc486c9c869648ef.tar.gz
refinery-1af73e7d7c88f1996ea955a7fc486c9c869648ef.tar.zst
refinery-1af73e7d7c88f1996ea955a7fc486c9c869648ef.zip
build: enable parallel Gradle build
Also increases timeout in WebSocket integration test to avoid failures due to increased CPU usage during build.
-rw-r--r--gradle.properties1
-rw-r--r--subprojects/language-web/src/test/java/tools/refinery/language/web/tests/WebSocketIntegrationTestClient.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/gradle.properties b/gradle.properties
index c6b0d974..f9c317c8 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -9,6 +9,7 @@ frontend.yarn1Version=1.22.19
9group=tools.refinery 9group=tools.refinery
10# Set to true once tools.refinery.gradle.frontend-worktree supports the cache. 10# Set to true once tools.refinery.gradle.frontend-worktree supports the cache.
11org.gradle.configuration-cache=false 11org.gradle.configuration-cache=false
12org.gradle.parallel=true
12systemProp.sonar.projectKey=graphs4value_refinery 13systemProp.sonar.projectKey=graphs4value_refinery
13systemProp.sonar.organization=graphs4value 14systemProp.sonar.organization=graphs4value
14systemProp.sonar.host.url=https://sonarcloud.io 15systemProp.sonar.host.url=https://sonarcloud.io
diff --git a/subprojects/language-web/src/test/java/tools/refinery/language/web/tests/WebSocketIntegrationTestClient.java b/subprojects/language-web/src/test/java/tools/refinery/language/web/tests/WebSocketIntegrationTestClient.java
index 2ac53ea6..46220777 100644
--- a/subprojects/language-web/src/test/java/tools/refinery/language/web/tests/WebSocketIntegrationTestClient.java
+++ b/subprojects/language-web/src/test/java/tools/refinery/language/web/tests/WebSocketIntegrationTestClient.java
@@ -19,7 +19,7 @@ import java.util.List;
19import static org.junit.jupiter.api.Assertions.fail; 19import static org.junit.jupiter.api.Assertions.fail;
20 20
21public abstract class WebSocketIntegrationTestClient { 21public abstract class WebSocketIntegrationTestClient {
22 private static final long TIMEOUT_MILLIS = Duration.ofSeconds(1).toMillis(); 22 private static final long TIMEOUT_MILLIS = Duration.ofSeconds(10).toMillis();
23 23
24 private boolean finished = false; 24 private boolean finished = false;
25 25