diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-11-26 01:51:46 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-11-26 01:57:06 +0100 |
commit | 9db4eed7277bca41e5406abba882ba6c13d0a3dc (patch) | |
tree | 0daace799287d7f8d18467a982e1969b9dad099b | |
parent | switch to tensin.name (diff) | |
download | wg-api-web-9db4eed7277bca41e5406abba882ba6c13d0a3dc.tar.gz wg-api-web-9db4eed7277bca41e5406abba882ba6c13d0a3dc.zip |
test/host: show the latest log lines
Trying to combat the recent GitHub Actions run failures.
-rwxr-xr-x | test/host/test.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/host/test.sh b/test/host/test.sh index 0088fba..33de0ec 100755 --- a/test/host/test.sh +++ b/test/host/test.sh @@ -131,7 +131,10 @@ cleanup() { echo "Removing $base_dir" rm -rf -- "$base_dir" - echo "Brining down containers..." + echo 'Showing the latest container logs...' + docker-compose logs --tail 25 + + echo "Bringing down containers..." docker-compose down -v --remove-orphans } |