test/jdk/sun/security/krb5/auto/Renewal.java
changeset 49884 03d263a61656
parent 48668 2da4a52715d8
--- a/test/jdk/sun/security/krb5/auto/Renewal.java	Wed Apr 25 12:39:05 2018 +0530
+++ b/test/jdk/sun/security/krb5/auto/Renewal.java	Wed Apr 25 12:44:50 2018 +0530
@@ -161,8 +161,10 @@
             return;
         }
         long change = (t.getTime() - System.currentTimeMillis()) / 1000;
-        if (change > duration + 20 || change < duration - 20) {
-            throw new Exception(t + " is not " + duration);
+        //accounting the delay factor in processing the instructions on host mc
+        if (change > duration + 40 || change < duration - 40) {
+            throw new Exception("Timestamp is " + t + ", actual difference "
+                    + change + " is not " + duration);
         }
     }
 }