You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/09/21 14:17:50 UTC

[camel-performance-tests] branch main updated: (chores) Fixed trying to enable statistics as it was removed on Camel 4.1 (#127)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new a4c4d62  (chores) Fixed trying to enable statistics as it was removed on Camel 4.1 (#127)
a4c4d62 is described below

commit a4c4d6230207d00aef7a47829b35c34c13cb3011
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Thu Sep 21 16:17:45 2023 +0200

    (chores) Fixed trying to enable statistics as it was removed on Camel 4.1 (#127)
---
 .../src/test/java/org/apache/camel/itest/jmh/CSimpleOperatorTest.java    | 1 -
 .../src/test/java/org/apache/camel/itest/jmh/SimpleOperatorTest.java     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleOperatorTest.java b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleOperatorTest.java
index f94d1d8..055f838 100644
--- a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleOperatorTest.java
+++ b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleOperatorTest.java
@@ -87,7 +87,6 @@ public class CSimpleOperatorTest {
         public void initialize() {
             camel = new DefaultCamelContext();
             try {
-                camel.getTypeConverterRegistry().getStatistics().setStatisticsEnabled(true);
                 camel.start();
                 exchange = new DefaultExchange(camel);
                 exchange.getIn().setBody("World");
diff --git a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/SimpleOperatorTest.java b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/SimpleOperatorTest.java
index 2b7ca4d..e7444ae 100644
--- a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/SimpleOperatorTest.java
+++ b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/SimpleOperatorTest.java
@@ -87,7 +87,6 @@ public class SimpleOperatorTest {
         public void initialize() {
             camel = new DefaultCamelContext();
             try {
-                camel.getTypeConverterRegistry().getStatistics().setStatisticsEnabled(true);
                 camel.start();
                 exchange = new DefaultExchange(camel);
                 exchange.getIn().setBody("World");