From e1658ee22a987d9ac6b80b09daed529978f22687 Mon Sep 17 00:00:00 2001 From: Frank Becker Date: Thu, 8 Aug 2024 21:39:10 +0200 Subject: [PATCH] fix: none CI Server and no fixtures --- .../org/eclipse/mylyn/commons/sdk/util/TestConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylyn.commons/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/TestConfiguration.java b/mylyn.commons/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/TestConfiguration.java index 6e6eebf7e4..7fe5a4978a 100644 --- a/mylyn.commons/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/TestConfiguration.java +++ b/mylyn.commons/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/TestConfiguration.java @@ -130,7 +130,7 @@ public List discover(Class clazz, String fixtureType, boolean defaultO defaultOnly, exception); } - if (fixtures.isEmpty()) { + if (fixtures.isEmpty() && CommonTestUtil.runOnCIServerTestsOnly()) { throw new RuntimeException( NLS.bind("Failed to discover any fixtures for kind {0} with defaultOnly={1} ({2} and {3})", new Object[] { fixtureType, Boolean.toString(defaultOnly), URL_SERVICES_LOCALHOST,