This is an automated email from the ASF dual-hosted git repository. fmariani pushed a commit to branch camel-4.10.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3e032ef6303c9bcdb146fd7e258cf1c2dab46c94 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon Apr 7 14:15:12 2025 +0200 Regen Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- .../camel/impl/health/ContextHealthCheckTest.java | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/core/camel-core/src/test/java/org/apache/camel/impl/health/ContextHealthCheckTest.java b/core/camel-core/src/test/java/org/apache/camel/impl/health/ContextHealthCheckTest.java index e65ed8c9bc5..36b3fe99790 100644 --- a/core/camel-core/src/test/java/org/apache/camel/impl/health/ContextHealthCheckTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/impl/health/ContextHealthCheckTest.java @@ -1,14 +1,27 @@ +/* + * 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.impl.health; import org.apache.camel.CamelContext; import org.apache.camel.ServiceStatus; import org.apache.camel.health.HealthCheck; -import org.apache.camel.health.HealthCheckResultBuilder; import org.apache.camel.impl.DefaultCamelContext; import org.junit.jupiter.api.Test; -import java.util.Map; - import static org.junit.jupiter.api.Assertions.*; import static org.junit.jupiter.api.Assertions.assertFalse; @@ -46,5 +59,4 @@ public class ContextHealthCheckTest { assertEquals(ServiceStatus.Suspended, result.getDetails().get("context.status")); } - }