On Wed, 2 Apr 2025 01:41:27 GMT, Jaikiran Pai <j...@openjdk.org> wrote:

>> Can I please get a review of this test-only change which proposes to clean 
>> up some issues noticed in the `TestRedirectLinks.java` test?
>> 
>> The `javadoc/doclet/testLinkOption/TestRedirectLinks.java` test has been 
>> failing intermittently in our CI. The root cause of those failures isn't yet 
>> clear and those failures are being tracked in 
>> https://bugs.openjdk.org/browse/JDK-8338439.
>> 
>> While investigating those failures, it was noticed that this test had some 
>> issues that could be addressed separately to rule out their role in the 
>> intermittent failures. 
>> 
>> The commit in this PR updates the test to using existing test library 
>> classes to construct the request URL as well as for constructing the 
>> SSLContext. The test is also updated to use the correct value to represent 
>> "no response body" when calling the `sendResponseHeaders()` method.
>> 
>> The test continues to pass with this change. We will continue investigating 
>> the intermittent failure if/when it occurs again after this change.
>
> Jaikiran Pai has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   address review comment in test

neat cleanup

-------------

Marked as reviewed by liach (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24359#pullrequestreview-2734372595

Reply via email to