On Wed, 18 Jun 2025 09:04:32 GMT, Ambarish Rapte <ara...@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 <ara...@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