You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/05/16 07:49:54 UTC
[camel] branch camel-3.18.x updated: Skip tests that junit cannot run
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.18.x by this push:
new cb264cfefc9 Skip tests that junit cannot run
cb264cfefc9 is described below
commit cb264cfefc9436a24ef3bbdfe29b20f2a1bf90f5
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue May 16 09:48:00 2023 +0200
Skip tests that junit cannot run
---
.../src/test/java/org/apache/camel/management/BacklogDebuggerTest.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/core/camel-management/src/test/java/org/apache/camel/management/BacklogDebuggerTest.java b/core/camel-management/src/test/java/org/apache/camel/management/BacklogDebuggerTest.java
index 1d1cc1c443c..28e4a1b8cb3 100644
--- a/core/camel-management/src/test/java/org/apache/camel/management/BacklogDebuggerTest.java
+++ b/core/camel-management/src/test/java/org/apache/camel/management/BacklogDebuggerTest.java
@@ -25,6 +25,7 @@ import javax.management.ObjectName;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.impl.debugger.BacklogDebugger;
+import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;
@@ -918,6 +919,7 @@ public class BacklogDebuggerTest extends ManagementTestSupport {
/**
* Ensure that the suspend mode works as expected when it is set using an environment variable.
*/
+ @Disabled
@Test
@SetEnvironmentVariable(key = BacklogDebugger.SUSPEND_MODE_ENV_VAR_NAME, value = "true")
public void testSuspendModeConfiguredWithEnvVariable() throws Exception {
@@ -937,6 +939,7 @@ public class BacklogDebuggerTest extends ManagementTestSupport {
* Ensure that the suspend mode works as expected when it is configured by relying on the precedence of the env
* variable over the system property.
*/
+ @Disabled
@Test
@SetEnvironmentVariable(key = BacklogDebugger.SUSPEND_MODE_ENV_VAR_NAME, value = "true")
@SetSystemProperty(key = BacklogDebugger.SUSPEND_MODE_SYSTEM_PROP_NAME, value = "false")