mirror of
https://github.com/vale981/stream
synced 2025-03-04 17:41:38 -05:00
accept failed as inactive
This commit is contained in:
parent
040d6e8106
commit
b88261e580
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Reference in a new issue