RFR: 8359896: [TestBug][JUnit5] Possible configuration error
Alexander Zuev
kizune at openjdk.org
Wed Jun 18 14:54:36 UTC 2025
On Wed, 18 Jun 2025 09:04:32 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:
> A simple change to remove `@Test` annotation from two graphics unit tests.
>
> The two tests have 2 test annotations `@Test` and `@RepeatedTest`, It results in warning message.
>
>
> WARNING: Possible configuration error: method [public void test.javafx.concurrent.ServiceLifecycleTest.cancelCalledFromOnSucceeded()] resulted in multiple TestDescriptors
> [org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor, org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor].
> This is typically the result of annotating a method with multiple competing annotations such as @Test, @RepeatedTest, @ParameterizedTest, @TestFactory, etc.
>
> WARNING: Possible configuration error: method [public void test.javafx.concurrent.ServiceLifecycleTest.cancelCalledFromOnFailed()] resulted in multiple TestDescriptors
> [org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor, org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor].
> This is typically the result of annotating a method with multiple competing annotations such as @Test, @RepeatedTest, @ParameterizedTest, @TestFactory, etc.
Marked as reviewed by kizune (Committer).
-------------
PR Review: https://git.openjdk.org/jfx/pull/1833#pullrequestreview-2939575209
More information about the openjfx-dev
mailing list