Skip to content

Commit 7dd57a7

Browse files
committed
fixing vapb exists check
Signed-off-by: Jaydip Gabani <[email protected]>
1 parent e30845d commit 7dd57a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/bats/test.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ setup() {
102102
local name=$(yq e .metadata.name "$sample"/constraint.yaml)
103103
wait_for_process ${WAIT_TIME} ${SLEEP_TIME} "constraint_enforced $kind $name"
104104

105-
if [ vapb_exists == true ]; then
105+
if [ $vapb_exists ]; then
106106
wait_for_process ${WAIT_TIME} ${SLEEP_TIME} "kubectl get ValidatingAdmissionPolicyBinding gatekeeper-$name"
107107
deny_substr="ValidatingAdmissionPolicy"
108108
fi

0 commit comments

Comments
 (0)