From 63ddf66ee78c42783b8f6a6a348f86f330161fb5 Mon Sep 17 00:00:00 2001 From: Heiko Klare Date: Wed, 29 Nov 2023 09:55:13 +0100 Subject: [PATCH] Disable Bug468PerformanceTest (JUnit 3) #715 Extends the test disablement to be handled by JUnit 3. Contributes to https://github.com/eclipse-platform/eclipse.platform/issues/715 --- .../core/tests/internal/properties/AllPropertiesTests.java | 4 +++- .../core/tests/internal/properties/Bug468PerformanceTest.java | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/AllPropertiesTests.java b/resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/AllPropertiesTests.java index 7007891699f..26f71f63865 100644 --- a/resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/AllPropertiesTests.java +++ b/resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/AllPropertiesTests.java @@ -18,6 +18,8 @@ import org.junit.runners.Suite; @RunWith(Suite.class) -@Suite.SuiteClasses({ PropertyManagerTest.class, Bug468PerformanceTest.class }) +@Suite.SuiteClasses({ PropertyManagerTest.class, +// Bug468PerformanceTest.class +}) public class AllPropertiesTests { } diff --git a/resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/Bug468PerformanceTest.java b/resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/Bug468PerformanceTest.java index 2463c143014..6cb2503e3ae 100644 --- a/resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/Bug468PerformanceTest.java +++ b/resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/Bug468PerformanceTest.java @@ -143,7 +143,7 @@ protected void tearDown() throws Exception { // so, set a limit of 1 minute. @Test @Ignore("See https://github.com/eclipse-platform/eclipse.platform/issues/715") - public void test() throws CoreException { + public void _test() throws CoreException { IFolder tempFolder = this.project.getFolder(TEMP_FOLDER_NAME); long[] timeTakenForDeletingFiles = new long[1];