From cf3d0cd53d7a875ff5748a487d97b8b2c1ab87c5 Mon Sep 17 00:00:00 2001 From: Remco van 't Veer Date: Mon, 13 May 2024 16:09:54 +0200 Subject: [PATCH] Set retries low in e2e for me sensible output Without these test will just fail with "too many retries on status" without being able to show the http-messages captured. --- test/nl/surf/eduhub_rio_mapper/e2e_helper.clj | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/nl/surf/eduhub_rio_mapper/e2e_helper.clj b/test/nl/surf/eduhub_rio_mapper/e2e_helper.clj index c0bc3492..e5ce8411 100644 --- a/test/nl/surf/eduhub_rio_mapper/e2e_helper.clj +++ b/test/nl/surf/eduhub_rio_mapper/e2e_helper.clj @@ -159,7 +159,12 @@ ;; Defer running make-config so running some (other!) tests is still ;; possible when environment incomplete. -(def config (delay (config/make-config (assoc env "WORKER_API_PORT" "8081")))) +(def config (delay (config/make-config + (assoc env + "WORKER_API_PORT" "8081" + "JOB_MAX_RETRIES" "1" + "JOB_RETRY_WAIT_MS" "1000" + "RIO_RETRY_ATTEMPTS_SECONDS" "5,5")))) (def base-url (delay (str "http://"