Commit Graph

78 Commits

Author SHA1 Message Date
Daniel Fuchs
cd9e3c1b13 8223856: Replace wildcard address with loopback or local host in tests - part 8
Fixes some intermittent test failures by replacing wildcard with loopback - or retrying once.

Reviewed-by: aefimov, chegar
2019-05-20 12:37:40 +01:00
Aleksei Efimov
c9cdfad6ff 8223798: Replace wildcard address with loopback or local host in tests - part 7
Reviewed-by: dfuchs, vtewari
2019-05-15 19:47:28 +01:00
Daniel Fuchs
9e686ef2d1 8223880: Update sun/net/ftp/FtpURL.java and sun/net/ftp/FtpURLConnectionLeak.java to work with IPv6 addresses
This fix updates three tests: sun/net/ftp/FtpURL.java, sun/net/ftp/FtpURLConnectionLeak.java, and sun/net/ftp/FtpGetContent.java, to work with IPv6 addresses

Reviewed-by: chegar, aeubanks, vtewari
2019-05-15 19:34:34 +01:00
Daniel Fuchs
e0a87ef8fc 8223716: sun/net/www/http/HttpClient/MultiThreadTest.java should be more resilient to unexpected traffic
Reviewed-by: chegar
2019-05-15 19:09:54 +01:00
Aleksei Efimov
64b8734964 8223638: Replace wildcard address with loopback or local host in tests - part 6
Reviewed-by: dfuchs
2019-05-14 13:34:49 +01:00
Daniel Fuchs
3103d346a7 8223632: Replace wildcard address with loopback or local host in tests - part 5
Replaces wildcard usage by loopback, when possible, adds intermittent keyword and a comment, when not.

Reviewed-by: chegar
2019-05-13 17:31:23 +01:00
Aleksei Efimov
6ecf7ffbb1 8223465: Replace wildcard address with loopback or local host in tests - part 3
Reviewed-by: dfuchs
2019-05-10 15:34:17 +01:00
Daniel Fuchs
205fd87f2d 8223573: Replace wildcard address with loopback or local host in tests - part 4
Makes a few intermittently failing tests more resilient to port reuse issues by ensuring they bind to the loopback address instead of the wildcard.

Reviewed-by: alanb, chegar
2019-05-09 14:23:52 +01:00
Daniel Fuchs
1188188ee6 8223463: Replace wildcard address with loopback or local host in tests - part 2
Removes (or documents) some usages of the wildcard address in intermittently failing tests.

Reviewed-by: alanb
2019-05-07 18:10:59 +01:00
Daniel Fuchs
7d4520c109 8223145: Replace wildcard address with loopback or local host in tests - part 1
Replaces binding to wildacard with alternative less susceptible to intermittent failure in some intermittently failing tests.

Reviewed-by: chegar, msheppar
2019-05-02 11:55:16 +01:00
Daniel Fuchs
72467d916c 8129315: java/net/Socket/LingerTest.java and java/net/Socket/ShutdownBoth.java timeout intermittently
Tests are updated to use the loopback address instead of the wildcard to avoid traffic being routed to a different server than what was intended by the test.

Reviewed-by: chegar
2019-04-26 16:25:43 +01:00
Arthur Eubanks
0c2b7c4fc3 8220575: Replace hardcoded 127.0.0.1 in URLs with new URI builder
Reviewed-by: dfuchs, chegar
2019-03-27 09:06:43 -07:00
Chris Hegarty
1df787692a 8170705: sun/net/www/protocol/http/StackTraceTest.java fails intermittently with Invalid Http response
Reviewed-by: dfuchs
2019-03-19 11:15:08 +00:00
Arthur Eubanks
ef9ce3be1e 8220083: Use InetAddress.getLoopbackAddress() in place of 127.0.0.1 for some tests
Tests that hardcode "127.0.0.1" fail in an environment where only IPv6 is available and IPv4 is not.

Reviewed-by: chegar, dfuchs, michaelm
2019-02-27 13:34:40 -08:00
Xue-Lei Andrew Fan
25f0d60a58 8215430: Remove the internal package com.sun.net.ssl
Reviewed-by: chegar, mullan, wetmore
2019-03-01 08:35:14 -08:00
Daniel Fuchs
d176e20898 8218133: sun/net/www/protocol/http/ProtocolRedirect.java failed with "java.net.ConnectException"
Changed the test to use the loopback interface.

Reviewed-by: chegar
2019-02-01 14:24:40 +00:00
Michael McMahon
0fc677a674 8216986: Remove unused code from SocksSocketImpl
Reviewed-by: alanb
2019-01-24 15:48:05 +00:00
John Jiang
4fe2edae59 8211978: Move testlibrary/jdk/testlibrary/SimpleSSLContext.java and testkeys to network testlibrary
Move SimpleSSLContext.java and testkeys to test/lib/jdk/test/lib/net

Reviewed-by: chegar
2018-10-15 22:47:03 +08:00
Chris Yin
285fca70b4 8187522: test/sun/net/ftp/FtpURLConnectionLeak.java timed out
Reviewed-by: chegar, vtewari
2018-10-15 09:34:18 +08:00
Igor Ignatyev
ab8c7f710c 8211171: move JarUtils to top-level testlibrary
Reviewed-by: alanb
2018-10-01 14:54:46 -07:00
Chris Hegarty
20f6faa030 8211092: test/jdk/sun/net/www/http/HttpClient/MultiThreadTest.java fails intermittently when cleaning up
Reviewed-by: dfuchs
2018-09-28 12:47:09 +01:00
Frank Yuan
3edf95fc44 8210934: Move sun/net/www/protocol/http/GetErrorStream.java to OpenJDK
Repalce internet website dependency with a built-in http server

Reviewed-by: chegar
2018-09-25 11:24:59 +08:00
Frank Yuan
c1bbf898e4 8210819: Update the host name in CNameTest.java
Reviewed-by: chegar
2018-09-18 11:09:18 +08:00
Xue-Lei Andrew Fan
87c6761704 8196584: TLS 1.3 Implementation
Co-authored-by: Adam Petcher <adam.petcher@oracle.com>
Co-authored-by: Amanda Jiang <amanda.jiang@oracle.com>
Co-authored-by: Anthony Scarpino <anthony.scarpino@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Jamil Nimeh <jamil.j.nimeh@oracle.com>
Co-authored-by: John Jiang <sha.jiang@oracle.com>
Co-authored-by: Rajan Halade <rajan.halade@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Reviewed-by: ascarpino, coffeys, dfuchs, jjiang, jnimeh, mullan, rhalade, ssahoo, valeriep, weijun, wetmore, xuelei
2018-06-25 13:41:39 -07:00
Ivan Gerasimov
97c8fdb2dd 8175075: Add 3DES to the default disabled algorithm security property
Reviewed-by: xuelei, mullan, rhalade
2018-01-19 11:24:39 -08:00
Claes Redestad
abb7e3a52a 8197849: Misc improvements to jar resource handling
Reviewed-by: rriggs, dfuchs
2018-02-14 19:03:12 +01:00
Joe Darcy
0b40438ae8 8194070: Update various tests to pass under JDK 11
Reviewed-by: alanb, sherman, psandoz
2018-01-31 11:25:34 -08:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00