- Removing warning
! Increasing wait time on client mock script to avoid firing too early
This commit is contained in:
@@ -12,7 +12,7 @@ pushd ./json-api/
|
||||
echo Setting up API server
|
||||
cargo run --release -- -H ../hmac.secret -w ../wss-hmac.secret -s&
|
||||
json_pid=$!
|
||||
sleep 2
|
||||
sleep 5 # Really high wait time because pipelines be slow as hell sometimes
|
||||
|
||||
# Next come back and startup the rest test client
|
||||
echo Setting up the client itself
|
||||
@@ -22,6 +22,8 @@ pushd ./json-api/
|
||||
popd
|
||||
|
||||
|
||||
# Thse probably won't do anything of value in pipelines but hey they work in local
|
||||
# environments so whatever /shrug
|
||||
# catch errors that may occur and kill off process group
|
||||
kill $(pgrep node)
|
||||
kill $(pgrep json)
|
||||
|
||||
Reference in New Issue
Block a user