Skip to content

Commit a740e79

Browse files
committed
corrected some test logic
1 parent a5b482c commit a740e79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ITPodsShutdown.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,9 @@ public void testAddShutdownOptionsToMSForced() throws Exception {
328328
updateCRDYamlVerifyShutdown(crd, delayTime);
329329

330330
Assert.assertTrue(checkShutdownUpdatedProp(domainUid + "-managed-server1", "Forced"));
331-
if ((terminationDefaultOptionsTime < terminationTime)) {
331+
if ((1.5 * terminationDefaultOptionsTime < terminationTime)) {
332332
logger.info("\"FAILURE: ignored timeout Forced value during shutdown");
333-
throw new Exception("FAILURE: ignored timeoutValue during shutdown");
333+
throw new Exception("FAILURE: ignored timeout Forced during shutdown");
334334
}
335335
} finally {
336336
logger.log(

0 commit comments

Comments
 (0)