From: Felix Dörre Date: Tue, 9 Sep 2014 20:17:39 +0000 (+0200) Subject: UPD: add timeouts to testssl so that we could try to debug. X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=fa001da121be4484509b3e7438302e515be7d23b UPD: add timeouts to testssl so that we could try to debug. --- diff --git a/tests/org/cacert/gigi/ping/TestSSL.java b/tests/org/cacert/gigi/ping/TestSSL.java index 2727fe05..26f27626 100644 --- a/tests/org/cacert/gigi/ping/TestSSL.java +++ b/tests/org/cacert/gigi/ping/TestSSL.java @@ -43,27 +43,27 @@ public class TestSSL extends PingTest { private Certificate c; - @Test + @Test(timeout = 70000) public void sslAndMailSuccess() throws IOException, InterruptedException, SQLException, GeneralSecurityException, GigiApiException { testEmailAndSSL(0, 0, true); } - @Test + @Test(timeout = 70000) public void sslWongTypeAndMailSuccess() throws IOException, InterruptedException, SQLException, GeneralSecurityException, GigiApiException { testEmailAndSSL(1, 0, true); } - @Test + @Test(timeout = 70000) public void sslOneMissingAndMailSuccess() throws IOException, InterruptedException, SQLException, GeneralSecurityException, GigiApiException { testEmailAndSSL(2, 0, true); } - @Test + @Test(timeout = 70000) public void sslBothMissingAndMailSuccess() throws IOException, InterruptedException, SQLException, GeneralSecurityException, GigiApiException { testEmailAndSSL(3, 0, true); } - @Test + @Test(timeout = 70000) public void sslWrongTypeAndMailFail() throws IOException, InterruptedException, SQLException, GeneralSecurityException, GigiApiException { testEmailAndSSL(1, 1, false); }