Integrated: 8359896: [TestBug][JUnit5] Possible configuration error
Ambarish Rapte
arapte at openjdk.org
Wed Jun 18 17:23:33 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.
This pull request has now been integrated.
Changeset: f9e87922
Author: Ambarish Rapte <arapte at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/f9e879225964f2ed2359cfc83accff674c476513
Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 mod
8359896: [TestBug][JUnit5] Possible configuration error
Reviewed-by: jhendrikx, mhanl, kizune, angorya
-------------
PR: https://git.openjdk.org/jfx/pull/1833
More information about the openjfx-dev
mailing list