You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by or...@apache.org on 2019/07/08 14:31:40 UTC
[qpid-broker-j] 04/06: NO-JIRA: Fix test failure
This is an automated email from the ASF dual-hosted git repository.
orudyy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git
commit f789d02f6b33c8eb46660ef5f36e4b22a8fa4acf
Author: Alex Rudyy <or...@apache.org>
AuthorDate: Mon Jul 8 14:57:16 2019 +0100
NO-JIRA: Fix test failure
---
.../qpid/tests/http/authentication/PreemptiveAuthenticationTest.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/authentication/PreemptiveAuthenticationTest.java b/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/authentication/PreemptiveAuthenticationTest.java
index 940d51c..8b73bc2 100644
--- a/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/authentication/PreemptiveAuthenticationTest.java
+++ b/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/authentication/PreemptiveAuthenticationTest.java
@@ -38,6 +38,7 @@ import static org.junit.Assume.assumeThat;
import java.io.ByteArrayOutputStream;
import java.net.HttpURLConnection;
+import java.net.InetAddress;
import java.net.SocketException;
import java.security.KeyStore;
import java.security.cert.Certificate;
@@ -45,10 +46,12 @@ import java.time.Duration;
import java.time.Instant;
import java.time.temporal.ChronoUnit;
import java.util.ArrayDeque;
+import java.util.Arrays;
import java.util.Base64;
import java.util.Collections;
import java.util.Deque;
import java.util.HashMap;
+import java.util.HashSet;
import java.util.Map;
import javax.net.ssl.SSLHandshakeException;
@@ -328,7 +331,7 @@ public class PreemptiveAuthenticationTest extends HttpTestBase
Duration.of(365, ChronoUnit.DAYS).getSeconds(),
x500Name,
Collections.emptySet(),
- Collections.emptySet());
+ Collections.singleton(InetAddress.getLoopbackAddress()));
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org