Skip to content

v0.15.0

Choose a tag to compare

@suin suin released this 02 Mar 12:19
· 10 commits to main since this release
bd4f6f5

Non-blocking Namespace Cleanup

Namespace deletion during test cleanup previously blocked until the namespace was fully terminated. With controllers that have slow finalizer/teardown logic (e.g., Envoy Gateway), this caused cleanup to take 3+ minutes.

The createNamespace revert handler now passes --wait=false to kubectl delete, making it return immediately after the namespace enters Terminating state. This is safe because each test uses a unique namespace name.

Before: ~3m22s cleanup
After: ~352ms cleanup

New wait option on KubectlDeleteOptions

A generic wait option has been added to KubectlDeleteOptions for anyone building custom actions:

await kubectl.delete("Namespace", name, {
  ignoreNotFound: true,
  wait: false, // adds --wait=false
});

Fixes #7