test(bats): Add logging to flaky tests (#6456)

This commit is contained in:
Michael Li authored and GitHub committed 2026-03-05 09:48:19 -05:00
1 parent 994e6fce85
commit c18b6afbb4
3 files changed
+12 -5

No files matched your search

+8 -4
View File
@@ -11,12 +11,14 @@ load _helpers
[ "$status" -eq 0 ]
run connect_nc $DEFAULT_TARGET
echo "$output"
echo "connecting to $id: $output"
echo "status: $status"
[ "$status" -eq 0 ]
# Run twice so we have two values for later testing
run connect_nc $DEFAULT_TARGET
echo "$output"
echo "connecting to $id: $output"
echo "status: $status"
[ "$status" -eq 0 ]
}
@@ -26,12 +28,14 @@ load _helpers
[ "$status" -eq 0 ]
run connect_nc $DEFAULT_TARGET
echo "$output"
echo "connecting to $id: $output"
echo "status: $status"
[ "$status" -eq 0 ]
# Run twice so we have two values for later testing
run connect_nc $DEFAULT_TARGET
echo "$output"
echo "connecting to $id: $output"
echo "status: $status"
[ "$status" -eq 0 ]
}