Skip to content

Commit fbaaac6

Browse files
author
Darragh Clarke
committed
8314164: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails intermittently in timeout
Reviewed-by: dfuchs, djelinski
1 parent 791b427 commit fbaaac6

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)