mirror of
https://github.com/vale981/stream
synced 2025-03-04 17:41:38 -05:00
fix restart test
This commit is contained in:
parent
2494c546b1
commit
6d152d6795
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@
|
|||
(testing "restarting the service"
|
||||
(systemd/start-service! name)
|
||||
(systemd/restart-service! name)
|
||||
(while (= :activating (systemd/get-service-state! name))
|
||||
(while (some #(= % (systemd/get-service-state! name))
|
||||
[:activating :deactivating])
|
||||
(a/<!! (a/timeout 1000)))
|
||||
(is (= :active (systemd/get-service-state! name))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue