actions: fix: wait for the action logs to show up
The Forgejo instance completed the echo test successfully, there must be a log at some point. But since Forgejo is still running, it may not had time to write the logs just yet. Retry instead of giving up immediately.
This commit is contained in:
parent
60e90f5bc0
commit
c4b3c61325
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ set -e
|
||||||
source $FEATURE_DIR/../../lib/lib.sh
|
source $FEATURE_DIR/../../lib/lib.sh
|
||||||
source $FEATURE_DIR/../../forgejo/fixtures.sh
|
source $FEATURE_DIR/../../forgejo/fixtures.sh
|
||||||
|
|
||||||
if ! fixture_get_one_path local data/actions_log/root/example-echo | grep --quiet log.zst; then
|
if ! retry bash -c "find $DIR/forgejo-work-path/data/actions_log/root/example-echo | grep --quiet log.zst"; then
|
||||||
(
|
(
|
||||||
cd $DIR/forgejo-work-path
|
cd $DIR/forgejo-work-path
|
||||||
find data
|
find data
|
||||||
|
|
Loading…
Add table
Reference in a new issue