[jdk11u-dev] RFR: 8326503: [11u] java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fail because of package org.junit.jupiter.api does not exist [v2]
Anton Bobrov
abobrov at openjdk.org
Mon Feb 26 14:04:57 UTC 2024
On Mon, 26 Feb 2024 13:56:08 GMT, Anton Bobrov <abobrov at openjdk.org> wrote:
>> This patch addresses the test failures described in https://bugs.openjdk.org/browse/JDK-8326503 due to junit 5 package org.junit.jupiter.api which does not exist in older junit 4 that is being used here now for 11u builds by refactoring junit 5 api use to available junit 4 api.
>
> Anton Bobrov has updated the pull request incrementally with one additional commit since the last revision:
>
> refactor further to use BeforeClass and AfterClass
refactored further with before/after class. while looking into this test some more it actually has concurrency problems with junit 5 and parallel execution (tho i think the parallel execution can only be explicitly enabled on demand) where Control would be shared by several tests. With junit 4 the tests are always sequential and never parallel so this concern is void but this is something to note here.
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2553#issuecomment-1964218998
More information about the jdk-updates-dev
mailing list