Skip to content

Commit

Permalink
Set retries low in e2e for me sensible output
Browse files Browse the repository at this point in the history
Without these test will just fail with "too many retries on status"
without being able to show the http-messages captured.
  • Loading branch information
remvee authored and mdemare committed May 14, 2024
1 parent b936f2d commit cf3d0cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/nl/surf/eduhub_rio_mapper/e2e_helper.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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://"
Expand Down

0 comments on commit cf3d0cd

Please sign in to comment.