This is an automated email from the ASF dual-hosted git repository.

JiriOndrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 4391ef38efe0bb6d3d605fd6f668217e15ac9340
Author: jiriOndrusek-agent <[email protected]>
AuthorDate: Tue Nov 10 08:43:11 2026 +0000

    Remove the BacklogTracer activity assertions after CAMEL-26691
    
    Camel removed the activity tracking of the backlog tracer
    (camel.trace.activityEnabled / activitySize) in favour of the
    timeline dev console.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 .../core/runtime/CamelTraceActivityTest.java       | 71 ----------------------
 .../camel/quarkus/core/runtime/CamelTraceTest.java |  2 -
 2 files changed, 73 deletions(-)

diff --git 
a/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/runtime/CamelTraceActivityTest.java
 
b/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/runtime/CamelTraceActivityTest.java
deleted file mode 100644
index d5491d38af5..00000000000
--- 
a/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/runtime/CamelTraceActivityTest.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.quarkus.core.runtime;
-
-import java.io.IOException;
-import java.io.StringWriter;
-import java.io.Writer;
-import java.util.Properties;
-
-import io.quarkus.test.QuarkusExtensionTest;
-import jakarta.inject.Inject;
-import org.apache.camel.CamelContext;
-import org.apache.camel.impl.debugger.BacklogTracer;
-import org.jboss.shrinkwrap.api.ShrinkWrap;
-import org.jboss.shrinkwrap.api.asset.Asset;
-import org.jboss.shrinkwrap.api.asset.StringAsset;
-import org.jboss.shrinkwrap.api.spec.JavaArchive;
-import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.extension.RegisterExtension;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-class CamelTraceActivityTest {
-    @RegisterExtension
-    static final QuarkusExtensionTest CONFIG = new QuarkusExtensionTest()
-            .setArchiveProducer(() -> ShrinkWrap.create(JavaArchive.class)
-                    .addAsResource(applicationProperties(), 
"application.properties"));
-
-    @Inject
-    CamelContext camelContext;
-
-    static Asset applicationProperties() {
-        Writer writer = new StringWriter();
-
-        Properties props = new Properties();
-        props.setProperty("camel.trace.enabled", "true");
-        props.setProperty("camel.trace.activity-enabled", "true");
-        props.setProperty("camel.trace.activity-size", "200");
-
-        try {
-            props.store(writer, "");
-        } catch (IOException e) {
-            throw new RuntimeException(e);
-        }
-
-        return new StringAsset(writer.toString());
-    }
-
-    @Test
-    void testTraceActivityConfiguration() {
-        BacklogTracer tracer = 
camelContext.getCamelContextExtension().getContextPlugin(BacklogTracer.class);
-
-        assertThat(tracer).isNotNull();
-        assertThat(tracer.isActivityEnabled()).isTrue();
-        assertThat(tracer.getActivitySize()).isEqualTo(200);
-    }
-}
diff --git 
a/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/runtime/CamelTraceTest.java
 
b/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/runtime/CamelTraceTest.java
index 946650acb77..42865ad54dc 100644
--- 
a/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/runtime/CamelTraceTest.java
+++ 
b/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/runtime/CamelTraceTest.java
@@ -70,7 +70,5 @@ class CamelTraceTest {
         assertThat(tracer.getBacklogSize()).isEqualTo(100);
         assertThat(tracer.getTracePattern()).isNull();
         assertThat(tracer.getTraceFilter()).isNull();
-        assertThat(tracer.isActivityEnabled()).isFalse();
-        assertThat(tracer.getActivitySize()).isEqualTo(100);
     }
 }

Reply via email to