Skip to content

Commit

Permalink
fix: reverted timeout for dockerd back to 60, increased -n for tail
Browse files Browse the repository at this point in the history
The hypothesis is that dockerd runs too fast and we don't have a chance to detect the record in the log with "tail -n 0 -f"
  • Loading branch information
sanikolaev authored Jan 11, 2025
1 parent e1cd8d1 commit 64266af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clt_tests/tests/base/init.recb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(dockerd > /var/log/dockerd.log 2>&1 &) > /dev/null
––– output –––
––– input –––
if timeout 120 grep -qm1 'API listen on /var/run/docker.sock' <(tail -n 0 -f /var/log/dockerd.log); then echo 'Done'; else echo 'Timeout failed'; fi
if timeout 60 grep -qm1 'API listen on /var/run/docker.sock' <(tail -n 500 -f /var/log/dockerd.log); then echo 'Done'; else echo 'Timeout failed'; fi
––– output –––
Done
––– input –––
Expand Down

0 comments on commit 64266af

Please # to comment.