From 1da5aa90279170b8b1957fee2a67c1402661fe97 Mon Sep 17 00:00:00 2001
From: David Taylor <david@taylorhq.com>
Date: Wed, 26 Oct 2022 12:00:35 +0100
Subject: [PATCH] DEV: Parallelize core JS tests in docker.rake (#18756)

---
 lib/tasks/docker.rake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tasks/docker.rake b/lib/tasks/docker.rake
index fc942c4ad6e..3f9de71ede5 100644
--- a/lib/tasks/docker.rake
+++ b/lib/tasks/docker.rake
@@ -208,7 +208,7 @@ task 'docker:test' do
         js_timeout = ENV["JS_TIMEOUT"].presence || 900_000 # 15 minutes
 
         unless ENV["SKIP_CORE"]
-          @good &&= run_or_fail("cd app/assets/javascripts/discourse && CI=1 yarn ember exam --random")
+          @good &&= run_or_fail("cd app/assets/javascripts/discourse && CI=1 yarn ember exam --load-balance --parallel=3 --random")
         end
 
         unless ENV["SKIP_PLUGINS"]