[javamail] 01/01: patch for 770744

Tony Mancill tmancill at moszumanska.debian.org
Mon Nov 24 02:41:58 GMT 2014


This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch master
in repository javamail.

commit aff789708eda4c82a1db242983d4b0143ed323be
Author: tony mancill <tmancill at debian.org>
Date:   Sun Nov 23 18:35:06 2014 -0800

    patch for 770744
---
 debian/changelog                                   |  8 ++++++++
 .../04-disable-external-network-tests.patch        | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 31 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 22da2d5..12b4d76 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+javamail (1.5.2-4) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Add patch to disable SMTPWriteTimeoutTest, which cannot run
+    without access to a DNS server. (Closes: #770744)
+
+ -- tony mancill <tmancill at debian.org>  Sun, 23 Nov 2014 15:30:10 -0800
+
 javamail (1.5.2-3) unstable; urgency=medium
 
   * Ignore the sporadic failures of IMAPIdleUntaggedResponseTest
diff --git a/debian/patches/04-disable-external-network-tests.patch b/debian/patches/04-disable-external-network-tests.patch
new file mode 100644
index 0000000..8ed6ebf
--- /dev/null
+++ b/debian/patches/04-disable-external-network-tests.patch
@@ -0,0 +1,22 @@
+Description: Disable (Ignore) SMTPWriteTimeoutTest due to network access
+Author: tony mancill <tmancill at debian.org>
+Forwarded: not-needed
+Bug-Debian: https://bugs.debian.org/770744
+--- a/mail/src/test/java/com/sun/mail/smtp/SMTPWriteTimeoutTest.java
++++ b/mail/src/test/java/com/sun/mail/smtp/SMTPWriteTimeoutTest.java
+@@ -55,6 +55,7 @@ import com.sun.mail.test.TestServer;
+ 
+ import org.junit.Test;
+ import org.junit.Rule;
++import org.junit.Ignore;
+ import org.junit.rules.Timeout;
+ import static org.junit.Assert.assertTrue;
+ import static org.junit.Assert.fail;
+@@ -70,6 +71,7 @@ public final class SMTPWriteTimeoutTest {
+ 
+     private static final int TIMEOUT = 200;	// write timeout, in millis
+ 
++    @Ignore("requires external network access; see Debian #770744")
+     @Test
+     public void test() throws Exception {
+         TestServer server = null;
diff --git a/debian/patches/series b/debian/patches/series
index f6d4cea..98689e4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 01-disable-modules.patch
 02-rename-jars.patch
 03-disable-unstable-tests.patch
+04-disable-external-network-tests.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/javamail.git



More information about the pkg-java-commits mailing list