Skip to content

Commit 47b916d

Browse files
Darragh ClarkeGoeLin
Darragh Clarke
authored andcommitted
8314164: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails intermittently in timeout
Backport-of: fbaaac63d4ae8d7cc0ec02ab4b5a934824d1fec1
1 parent ef598eb commit 47b916d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/jdk/java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -431,7 +431,6 @@ private HttpURLConnection createConnection() throws Exception {
431431

432432
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
433433
connection.setDoOutput(true);
434-
connection.setConnectTimeout(1000);
435434
connection.setReadTimeout(5000);
436435
connection.setUseCaches(false);
437436
connection.setInstanceFollowRedirects(false);

0 commit comments

Comments
 (0)