We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfc47a7 commit 6ce3cabCopy full SHA for 6ce3cab
operator-framework-junit/src/main/java/io/javaoperatorsdk/operator/junit/AbstractOperatorExtension.java
@@ -207,7 +207,7 @@ protected void after(ExtensionContext context) {
207
} else {
208
infrastructureKubernetesClient.resourceList(infrastructure).delete();
209
deleteOperator();
210
- if (skipNamespaceDeletion) {
+ if (!skipNamespaceDeletion) {
211
LOGGER.info("Deleting namespace {} and stopping operator", namespace);
212
infrastructureKubernetesClient.namespaces().withName(namespace).delete();
213
if (waitForNamespaceDeletion) {
0 commit comments