From b88261e58023f83742f49275a213404406e7b8a3 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Sun, 2 Aug 2020 18:09:45 +0200 Subject: [PATCH] accept failed as inactive --- test/stream/commander_test.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/stream/commander_test.clj b/test/stream/commander_test.clj index 75372d2..7908511 100644 --- a/test/stream/commander_test.clj +++ b/test/stream/commander_test.clj @@ -220,7 +220,8 @@ (testing "stopping the process" (let [prom (api/wait-for! (:supervisor proc) - :event :inactive)] + :matcher (or (= (:event %1) :inactive) + (= (:event %1) :failed)))] (api/start-process! proc) (api/stop-process! proc) (is (not (= :timeout @prom)))