Skip to content

Commit f252cf3

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,11 @@ protected void after(ExtensionContext context) {
205205
if (preserveNamespaceOnError && context.getExecutionException().isPresent()) {
206206
LOGGER.info("Preserving namespace {}", namespace);
207207
} else {
208+
LOGGER.info("Deleting infrastructure resources and operator in namespace {}", namespace);
208209
infrastructureKubernetesClient.resourceList(infrastructure).delete();
209210
deleteOperator();
210211
if (!skipNamespaceDeletion) {
211-
LOGGER.info("Deleting namespace {} and stopping operator", namespace);
212+
LOGGER.info("Deleting namespace {}", namespace);
212213
infrastructureKubernetesClient.namespaces().withName(namespace).delete();
213214
if (waitForNamespaceDeletion) {
214215
LOGGER.info("Waiting for namespace {} to be deleted", namespace);

0 commit comments

Comments
 (0)