wait for log file reation
This commit is contained in:
parent
e0c6ce5523
commit
2c2872d613
@ -34,6 +34,7 @@ echo "Starting test cloudron-update-test with pid ${test_pids[-1]}"
|
||||
test_logs+=("logs/cloudron-update-test.log")
|
||||
|
||||
# stream all the logs (to stderr so that it's not in email but in deploy logs)
|
||||
sleep 10 # wait for cloudron-update-test.log to get created (since it's a background subshell)
|
||||
tail -f ${test_logs[*]} >&2 &
|
||||
tail_pid=$!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user