You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.5 KiB
41 lines
1.5 KiB
From 158e5fdcc7cbe38067a8e83d975cfe32999e650d Mon Sep 17 00:00:00 2001
|
|
From: Marian Koncek <mkoncek@redhat.com>
|
|
Date: Wed, 23 Oct 2019 12:55:51 +0200
|
|
Subject: [PATCH] Disable tests that use networking
|
|
|
|
---
|
|
.../test/java/com/sun/mail/util/WriteTimeoutSocketTest.java | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/mail/src/test/java/com/sun/mail/util/WriteTimeoutSocketTest.java b/mail/src/test/java/com/sun/mail/util/WriteTimeoutSocketTest.java
|
|
index b1d80d3..b04c827 100644
|
|
--- a/mail/src/test/java/com/sun/mail/util/WriteTimeoutSocketTest.java
|
|
+++ b/mail/src/test/java/com/sun/mail/util/WriteTimeoutSocketTest.java
|
|
@@ -62,6 +62,7 @@ import com.sun.mail.test.TestSocketFactory;
|
|
import com.sun.mail.test.TestSSLSocketFactory;
|
|
|
|
import org.junit.Test;
|
|
+import org.junit.Ignore;
|
|
import org.junit.Rule;
|
|
import org.junit.rules.Timeout;
|
|
import static org.junit.Assert.fail;
|
|
@@ -111,6 +112,7 @@ public final class WriteTimeoutSocketTest {
|
|
* Test write timeouts with SSL sockets.
|
|
*/
|
|
@Test
|
|
+ @Ignore
|
|
public void testSSL() {
|
|
final Properties properties = new Properties();
|
|
properties.setProperty("mail.imap.host", "localhost");
|
|
@@ -127,6 +129,7 @@ public final class WriteTimeoutSocketTest {
|
|
* Test write timeouts with a custom SSL socket factory.
|
|
*/
|
|
@Test
|
|
+ @Ignore
|
|
public void testSSLSocketFactory() throws Exception {
|
|
final Properties properties = new Properties();
|
|
properties.setProperty("mail.imap.host", "localhost");
|
|
--
|
|
2.21.0
|
|
|