Skip to content

Commit 122ff36

Browse files
committed
BATS: k8s/spinkube: wait for executor
After the spinkube operator is ready, the spinkube executor might still not be; wait for that too. Signed-off-by: Mark Yen <[email protected]>
1 parent 5dca336 commit 122ff36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bats/tests/k8s/spinkube.bats

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ local_setup() {
2020
wait_for_kube_deployment_available --namespace spin-operator spin-operator-controller-manager
2121
}
2222

23+
@test 'wait for spinkube executor' {
24+
try kubectl get SpinAppExecutors.core.spinkube.dev/containerd-shim-spin
25+
}
26+
2327
@test 'deploy app to kubernetes' {
2428
# Newer versions of the sample app have moved from "deislabs" to "spinkube":
2529
# ghcr.io/spinkube/containerd-shim-spin/examples/spin-rust-hello:v0.13.0

0 commit comments

Comments
 (0)