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/03/24 16:07:01 UTC
[camel] branch main updated: (chores) camel-consul: cleanup data conversion
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.git
The following commit(s) were added to refs/heads/main by this push:
new ccbc43368a0 (chores) camel-consul: cleanup data conversion
ccbc43368a0 is described below
commit ccbc43368a07e707a2175e1493d1031fd27a47a5
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Mar 24 15:08:53 2023 +0100
(chores) camel-consul: cleanup data conversion
---
.../apache/camel/component/consul/cloud/ConsulServiceDiscoveryIT.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/components/camel-consul/src/test/java/org/apache/camel/component/consul/cloud/ConsulServiceDiscoveryIT.java b/components/camel-consul/src/test/java/org/apache/camel/component/consul/cloud/ConsulServiceDiscoveryIT.java
index 4a283c43632..737b862f278 100644
--- a/components/camel-consul/src/test/java/org/apache/camel/component/consul/cloud/ConsulServiceDiscoveryIT.java
+++ b/components/camel-consul/src/test/java/org/apache/camel/component/consul/cloud/ConsulServiceDiscoveryIT.java
@@ -97,7 +97,8 @@ public class ConsulServiceDiscoveryIT extends ConsulTestSupport {
Assertions.assertThat(service.getMetadata()).containsEntry("key1", "value1");
Assertions.assertThat(service.getMetadata()).containsEntry("key2", "value2");
Assertions.assertThat(service.getMetadata()).containsEntry("meta-key", "meta-val");
- Assertions.assertThat("" + service.getHealth().isHealthy()).isEqualTo(service.getMetadata().get("healthy"));
+ Assertions.assertThat(Boolean.toString(service.getHealth().isHealthy()))
+ .isEqualTo(service.getMetadata().get("healthy"));
}
}
}