X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;ds=sidebyside;f=tests%2Forg%2Fcacert%2Fgigi%2FTestCrossDomainAccess.java;h=0ddf10e1053d7599a80227e183824f9976824b9e;hb=0b86fb147b4a61f315770fa5bba4466ca18ddfa8;hp=95f2380fb68c9a338ddce56ca9ad74da09bdd77c;hpb=214daf6a8eca8376b0ff835b6d28abaaa61a0792;p=gigi.git diff --git a/tests/org/cacert/gigi/TestCrossDomainAccess.java b/tests/org/cacert/gigi/TestCrossDomainAccess.java index 95f2380f..0ddf10e1 100644 --- a/tests/org/cacert/gigi/TestCrossDomainAccess.java +++ b/tests/org/cacert/gigi/TestCrossDomainAccess.java @@ -51,7 +51,8 @@ public class TestCrossDomainAccess extends ManagedTest { String key = generatePEMCSR(kp, "CN=testmail@example.com"); Certificate c = new Certificate(u, u, Certificate.buildDN("CN", "testmail@example.com"), Digest.SHA256, key, CSRType.CSR, CertificateProfile.getById(1)); final PrivateKey pk = kp.getPrivate(); - c.issue(null, "2y", u).waitFor(60000); + c.setLoginEnabled(true); + await(c.issue(null, "2y", u)); URLConnection con = new URL("https://" + ServerConstants.getSecureHostNamePort()).openConnection(); authenticateClientCert(pk, c.cert(), (HttpURLConnection) con);