test/sun/security/krb5/auto/ReplayCacheExpunge.java
Print this page
rev 7487 : 8017453: ReplayCache tests fail on multiple platforms
@@ -39,10 +39,13 @@
static final String client = "dummy@REALM";
static final String server = "server/localhost@REALM";
static final Random rand = new Random();
public static void main(String[] args) throws Exception {
+ // Make sure clockskew is default value
+ System.setProperty("java.security.krb5.conf", "nothing");
+
int count = Integer.parseInt(args[0]);
ReplayCache cache = ReplayCache.getInstance("dfl:./");
AuthTimeWithHash a1 =
new AuthTimeWithHash(client, server, time(-400), 0, hash("1"));
AuthTimeWithHash a2 =