From 1d3c76d30e29f22bf63b305b122f7e344aee40fb Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Fri, 29 Jan 2021 14:21:35 -0500
Subject: [PATCH] Try to speed up the runs with concurrency

---
 .circleci/config.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 0bedfcf..e96b315 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -125,8 +125,11 @@ jobs:
             # The test suite might leak file descriptors.  macOS defaults to a
             # limit of 256.  This should be fixed, but not now ...
             ulimit -Sn 1024
-            # And finally we can run the tests.
-            venv/bin/python -m twisted.trial --rterrors _zkapauthorizer
+            # And finally we can run the tests.  We'll run them with 4 jobs
+            # because the resource class documented at
+            # https://support.circleci.com/hc/en-us/articles/360009144794-macOS-resources
+            # says "Medium: 4 vCPUs, 8GB RAM".
+            venv/bin/python -m twisted.trial --jobs 4 --rterrors _zkapauthorizer
 
   linux-tests:
     docker:
-- 
GitLab