Skip to content

Commit 75427f6

Browse files
committed
Attempt to fix container search bats issue with a delay
1 parent a7c2ac3 commit 75427f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bats/fb-katello-container.bats

+1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ load fixtures/content
2121
CONTAINER_PULL_LABEL=$(echo "${ORGANIZATION_LABEL}-${PRODUCT_LABEL}-${CONTAINER_REPOSITORY_LABEL}"| tr '[:upper:]' '[:lower:]')
2222
CONTAINER_PUSH_LABEL=$(echo "${ORGANIZATION_LABEL}/${PRODUCT_LABEL}/${CONTAINER_REPOSITORY_LABEL}-bats-$(date -u '+%s')"| tr '[:upper:]' '[:lower:]')
2323
podman push "${HOSTNAME}/${CONTAINER_PULL_LABEL}" "${HOSTNAME}/${CONTAINER_PUSH_LABEL}"
24+
sleep 5
2425
podman search "${HOSTNAME}/" | grep -q "${CONTAINER_PUSH_LABEL}"
2526
}

0 commit comments

Comments
 (0)