Skip to content

Commit

Permalink
Merge pull request #12656 from stormqueen1990/chore/improve-test
Browse files Browse the repository at this point in the history
chore(buildkitd): improve test to show errors
  • Loading branch information
stormqueen1990 authored Feb 7, 2024
2 parents 672377e + 36f2abd commit 1b59ade
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion buildkitd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,8 @@ test:
PID=$!
sleep 5 # ensure that enough time is given for the logs to get written
cat /tmp/logs.txt | grep -i 'running server'
if ! cat /tmp/logs.txt | grep -i 'running server'; then
cat /tmp/logs.txt
exit 1
fi
kill $PID

0 comments on commit 1b59ade

Please sign in to comment.