should fix the unit tests (#858)
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
This commit is contained in:
parent
657b765021
commit
535f0353df
|
@ -21,12 +21,14 @@ pidof crowdsec && fail "crowdsec process shouldn't be running"
|
|||
|
||||
#start it again
|
||||
${SYSTEMCTL} start crowdsec || fail "failed to stop service"
|
||||
${SYSTEMCTL} status crowdsec || fail "crowdsec should be down"
|
||||
${SYSTEMCTL} status crowdsec || fail "crowdsec should be up"
|
||||
sleep 5s
|
||||
pidof crowdsec || fail "crowdsec process should be running"
|
||||
|
||||
#restart it
|
||||
${SYSTEMCTL} restart crowdsec || fail "failed to stop service"
|
||||
${SYSTEMCTL} status crowdsec || fail "crowdsec should be down"
|
||||
${SYSTEMCTL} status crowdsec || fail "crowdsec should be up"
|
||||
sleep 5s
|
||||
pidof crowdsec || fail "crowdsec process should be running"
|
||||
|
||||
## version
|
||||
|
|
Loading…
Reference in a new issue