Skip to content

Commit 6ce3cab

Browse files
committed
wip
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent cfc47a7 commit 6ce3cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator-framework-junit/src/main/java/io/javaoperatorsdk/operator/junit/AbstractOperatorExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ protected void after(ExtensionContext context) {
207207
} else {
208208
infrastructureKubernetesClient.resourceList(infrastructure).delete();
209209
deleteOperator();
210-
if (skipNamespaceDeletion) {
210+
if (!skipNamespaceDeletion) {
211211
LOGGER.info("Deleting namespace {} and stopping operator", namespace);
212212
infrastructureKubernetesClient.namespaces().withName(namespace).delete();
213213
if (waitForNamespaceDeletion) {

0 commit comments

Comments
 (0)