8000 increase namespace deletion timeout · FroMage/java-operator-sdk@cf719fd · GitHub
[go: up one dir, main page]

Skip to content

Commit cf719fd

Browse files
author
Soroosh Sarabadani
committed
increase namespace deletion timeout
1 parent 19e7117 commit cf719fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

operator-framework/src/test/java/io/javaoperatorsdk/operator/IntegrationTestSupport.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void initialize(KubernetesClient k8sClient, ResourceController controller
5353
}
5454
operator = new Operator(k8sClient);
5555
operator.registerController(controller, TEST_NAMESPACE);
56-
log.info("Operator is running with TestCustomeResourceController");
56+
log.info("Operator is running with {}", controller.getClass().getCanonicalName 7EBC ());
5757
}
5858

5959
public CustomResourceDefinition loadCRDAndApplyToCluster(String classPathYaml) {
@@ -107,7 +107,7 @@ public void teardownIfSuccess(TestRun test) {
107107
if (namespace.getStatus().getPhase().equals("Active")) {
108108
k8sClient.namespaces().withName(TEST_NAMESPACE).delete();
109109
}
110-
await("namespace deleted").atMost(30, TimeUnit.SECONDS)
110+
await("namespace deleted").atMost(45, TimeUnit.SECONDS)
111111
.until(() -> k8sClient.namespaces().withName(TEST_NAMESPACE).get() == null);
112112
} catch (Exception e) {
113113
throw new IllegalStateException(e);

0 commit comments

Comments
 (0)
0