syself / cluster-api-provider-hetzner

Cluster API Provider Hetzner :rocket: The best way to manage Kubernetes clusters on Hetzner, fully declarative, Kubernetes-native and with self-healing capabilities
https://caph.syself.com
Apache License 2.0
693 stars 61 forks source link

:seedling: Fix flaky tests 2 #1466

Closed guettli closed 2 months ago

guettli commented 2 months ago

After the firs "fix flaky tests" PR was merged, there were still flaky tests.

This PR moves the Reset into upper most BeforeEach and introduces the global variable again.