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

+3
View File
@@ -29,6 +29,8 @@ load _target_host_sources
@test "boundary/target/connect: unpriv user can connect to default target" {
run connect_nc $DEFAULT_TARGET
echo "connecting to $id: $output"
echo "status: $status"
[ "$status" -eq 0 ]
}
@@ -87,6 +89,7 @@ load _target_host_sources
local id=$(target_id_from_name $DEFAULT_P_ID $TGT_NAME)
run connect_nc $id
echo "connecting to $id: $output"
echo "status: $status"
[ "$status" -eq 0 ]
}