Skip to content

Commit 5096dc8

Browse files
committed
8368739: [AIX] java/net/httpclient/http3/H3SimpleGet.java#useNioSelector and #with-continuations fail
Reviewed-by: mdoerr, dfuchs
1 parent 17fd801 commit 5096dc8

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

test/jdk/java/net/httpclient/http3/H3SimpleGet.java

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @bug 8087112
2727
* @requires os.family != "windows" | ( os.name != "Windows 10" & os.name != "Windows Server 2016"
2828
* & os.name != "Windows Server 2019" )
29+
* @requires os.family != "aix"
2930
* @library /test/lib /test/jdk/java/net/httpclient/lib
3031
* @build jdk.test.lib.net.SimpleSSLContext jdk.httpclient.test.lib.common.TestUtil
3132
* jdk.httpclient.test.lib.http2.Http2TestServer
@@ -45,6 +46,29 @@
4546
* H3SimpleGet
4647
*/
4748

49+
/*
50+
* @test id=with-continuations-aix
51+
* @bug 8087112
52+
* @requires os.family == "aix"
53+
* @library /test/lib /test/jdk/java/net/httpclient/lib
54+
* @build jdk.test.lib.net.SimpleSSLContext jdk.httpclient.test.lib.common.TestUtil
55+
* jdk.httpclient.test.lib.http2.Http2TestServer
56+
* @run testng/othervm/timeout=480 -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError
57+
* H3SimpleGet
58+
* @run testng/othervm/timeout=480 -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError
59+
* -Djdk.httpclient.retryOnStreamlimit=20
60+
* -Djdk.httpclient.redirects.retrylimit=21
61+
* -Dsimpleget.repeat=1 -Dsimpleget.chunks=1 -Dsimpleget.requests=1000
62+
* H3SimpleGet
63+
* @run testng/othervm/timeout=480 -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError
64+
* -Dsimpleget.requests=150
65+
* -Dsimpleget.chunks=16384
66+
* -Djdk.httpclient.retryOnStreamlimit=5
67+
* -Djdk.httpclient.redirects.retrylimit=6
68+
* -Djdk.httpclient.quic.defaultMTU=8192
69+
* H3SimpleGet
70+
*/
71+
4872
/*
4973
* @test id=without-continuation
5074
* @bug 8087112
@@ -75,6 +99,7 @@
7599
/*
76100
* @test id=useNioSelector
77101
* @bug 8087112
102+
* @requires os.family != "aix"
78103
* @library /test/lib /test/jdk/java/net/httpclient/lib
79104
* @build jdk.test.lib.net.SimpleSSLContext jdk.httpclient.test.lib.common.TestUtil
80105
* jdk.httpclient.test.lib.http2.Http2TestServer
@@ -97,6 +122,32 @@
97122
* H3SimpleGet
98123
*/
99124

125+
/*
126+
* @test id=useNioSelector-aix
127+
* @bug 8087112
128+
* @requires os.family == "aix"
129+
* @library /test/lib /test/jdk/java/net/httpclient/lib
130+
* @build jdk.test.lib.net.SimpleSSLContext jdk.httpclient.test.lib.common.TestUtil
131+
* jdk.httpclient.test.lib.http2.Http2TestServer
132+
* @run testng/othervm/timeout=480 -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError
133+
* -Djdk.internal.httpclient.quic.useNioSelector=true
134+
* H3SimpleGet
135+
* @run testng/othervm/timeout=480 -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError
136+
* -Djdk.internal.httpclient.quic.useNioSelector=true
137+
* -Djdk.httpclient.retryOnStreamlimit=20
138+
* -Djdk.httpclient.redirects.retrylimit=21
139+
* -Dsimpleget.repeat=1 -Dsimpleget.chunks=1 -Dsimpleget.requests=1000
140+
* H3SimpleGet
141+
* @run testng/othervm/timeout=480 -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError
142+
* -Djdk.internal.httpclient.quic.useNioSelector=true
143+
* -Dsimpleget.requests=150
144+
* -Dsimpleget.chunks=16384
145+
* -Djdk.httpclient.retryOnStreamlimit=5
146+
* -Djdk.httpclient.redirects.retrylimit=6
147+
* -Djdk.httpclient.quic.defaultMTU=8192
148+
* H3SimpleGet
149+
*/
150+
100151
// Interesting additional settings for debugging and manual testing:
101152
// -----------------------------------------------------------------
102153
// -Djdk.httpclient.HttpClient.log=requests,errors,quic:retransmit:control,http3

0 commit comments

Comments
 (0)