From a393e2e281a8bcbfa0f07995fa2968ce7d79fc40 Mon Sep 17 00:00:00 2001
From: dgelessus <dgelessus@users.noreply.github.com>
Date: Tue, 14 Jan 2025 17:28:02 +0100
Subject: [PATCH] Disable parallel tests again for now because of problems with
 JS tests

---
 build.gradle | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index dd4f1e166..c67bb7fe1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -41,9 +41,11 @@ application {
 }
 
 test {
-    // Enable executing tests in parallel, as recommended here:
+    // We could enable executing tests in parallel, as recommended here:
     // https://docs.gradle.org/8.12/userguide/performance.html#execute_tests_in_parallel
-    maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
+    // But this currently doesn't work with the JavaScript tests,
+    // because multiple tests copy files to the same location and conflict with each other.
+    //maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
 
     testLogging {
         exceptionFormat = 'full'
-- 
GitLab