This is an automated email from the ASF dual-hosted git repository.
Croway pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new c6156273057 Fix Camel-Spring-Boot Daily #458 test failures
c6156273057 is described below
commit c6156273057d128d563a02a0f4767cfb25640dc1
Author: croway <[email protected]>
AuthorDate: Fri Nov 13 13:39:23 2026 +0100
Fix Camel-Spring-Boot Daily #458 test failures
Add CamelAzureIothubIT for the new camel-azure-iothub-starter so the
CamelCatalogIT coverage check passes.
Raise the Cassandra test session request timeout from 5s to 30s, as
Camel core did in CAMEL-24787 and CAMEL-24290: the TRUNCATE run before
each test intermittently exceeds 5s on the CI agents.
---
.../cassandra/springboot/BaseCassandra.java | 2 +-
.../camel/itest/springboot/CamelAzureIothubIT.java | 28 ++++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git
a/components-starter/camel-cassandraql-starter/src/test/java/org/apache/camel/component/cassandra/springboot/BaseCassandra.java
b/components-starter/camel-cassandraql-starter/src/test/java/org/apache/camel/component/cassandra/springboot/BaseCassandra.java
index 68c79dfddd1..d013862c458 100644
---
a/components-starter/camel-cassandraql-starter/src/test/java/org/apache/camel/component/cassandra/springboot/BaseCassandra.java
+++
b/components-starter/camel-cassandraql-starter/src/test/java/org/apache/camel/component/cassandra/springboot/BaseCassandra.java
@@ -96,7 +96,7 @@ public class BaseCassandra {
// create a new session
session =
CqlSession.builder().withLocalDatacenter(DATACENTER_NAME).withKeyspace(KEYSPACE_NAME)
.withConfigLoader(DriverConfigLoader.programmaticBuilder()
- .withDuration(DefaultDriverOption.REQUEST_TIMEOUT,
Duration.ofSeconds(5)).build())
+ .withDuration(DefaultDriverOption.REQUEST_TIMEOUT,
Duration.ofSeconds(30)).build())
.addContactPoint(endpoint).build();
}
return session;
diff --git
a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelAzureIothubIT.java
b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelAzureIothubIT.java
new file mode 100644
index 00000000000..e3740cdac96
--- /dev/null
+++
b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelAzureIothubIT.java
@@ -0,0 +1,28 @@
+/*
+ * 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.itest.springboot;
+
+import
org.apache.camel.itest.springboot.common.AbstractSpringBootBaseTestSupport;
+import org.junit.jupiter.api.Test;
+
+public class CamelAzureIothubIT extends AbstractSpringBootBaseTestSupport {
+
+ @Test
+ void componentTest() {
+ assertComponent(inferComponentName(getClass()));
+ }
+}