accept failed as inactive

This commit is contained in:
Valentin Boettcher 2020-08-02 18:09:45 +02:00
parent 040d6e8106
commit b88261e580

View file

@ -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)))