You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Fix] Permanently delete ERROR and TERMINATED state clusters if their creation fails (#4021)
## Changes
<!-- Summary of your changes that are easy to understand -->
If we get error or terminated cluster (after getting
WaitGetClusterRunning in Create) then we permanently delete them.
## Tests
<!--
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->
Unit tests
- [ ] `make test` run locally
- [ ] relevant change in `docs/` folder
- [ ] covered with integration tests in `internal/acceptance`
- [ ] relevant acceptance tests are passing
- [ ] using Go SDK
assert.ErrorContains(t, err, "failed to create cluster: failed to reach RUNNING, got TERMINATED: and failed to delete it during cleanup: Internal error happened")
0 commit comments