Skip to content

Commit 937a5aa

Browse files
authored
chore: Refresh test status after NOT_TESTED re-trigger in cfn-publishing-helper.sh (#1646)
1 parent fbeb2ba commit 937a5aa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cfn-resources/cfn-publishing-helper.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ for resource in ${resources}; do
7878
test_type_resp=$(aws cloudformation test-type --type RESOURCE --type-name "${res_type}" --log-delivery-bucket "${_CFN_TEST_LOG_BUCKET}" --version-id "${version}")
7979
arn=$(echo "${test_type_resp}" | jq -r '.TypeVersionArn')
8080
sleep 60
81+
dt=$(aws cloudformation describe-type --arn "${arn}")
82+
status=$(echo "${dt}" | jq -r '.TypeTestsStatus')
83+
echo "status after NOT_TESTED re-trigger=${status}"
8184
fi
8285

8386
while [[ "$status" == "IN_PROGRESS" ]]; do

0 commit comments

Comments
 (0)