Skip to content

Commit 3812a7f

Browse files
authored
fix: increased timeout for failing test (#1788)
1 parent a67ba0b commit 3812a7f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package io.javaoperatorsdk.operator;
22

3+
import java.time.Duration;
4+
35
import org.junit.jupiter.api.Test;
46
import org.junit.jupiter.api.extension.RegisterExtension;
57

@@ -47,7 +49,8 @@ void crudOperationOnClusterScopedCustomResource() {
4749
});
4850

4951
operator.delete(resource);
50-
await().untilAsserted(() -> assertThat(operator.get(ConfigMap.class, TEST_NAME)).isNull());
52+
await().atMost(Duration.ofSeconds(30))
53+
.untilAsserted(() -> assertThat(operator.get(ConfigMap.class, TEST_NAME)).isNull());
5154
}
5255

5356

0 commit comments

Comments
 (0)