Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 743645c

Browse files
authored
Merge pull request #20 from michalskrivanek/patch-1
give exporters some time to disconnect
2 parents 5948726 + 7a1d13f commit 743645c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests.bats

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ setup() {
66
}
77

88
wait_for_exporter() {
9+
# After a lease operation the exporter is disconnecting from controller and reconnecting.
10+
# The disconnect can take a short while so let's avoid catching the pre-disconnect state and early return
11+
sleep 2
912
kubectl -n default wait --timeout 20m --for=condition=Online --for=condition=Registered \
1013
exporters.jumpstarter.dev/test-exporter-oidc
1114
kubectl -n default wait --timeout 20m --for=condition=Online --for=condition=Registered \

0 commit comments

Comments
 (0)