You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ts...@apache.org on 2021/03/16 08:00:22 UTC
[camel-kafka-connector] branch master updated: Fix https itests to
even pass the disabled test (once it's enabled)
This is an automated email from the ASF dual-hosted git repository.
tsato pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git
The following commit(s) were added to refs/heads/master by this push:
new 213b29a Fix https itests to even pass the disabled test (once it's enabled)
213b29a is described below
commit 213b29a6276f3a5554c70c958d85339ad57e8ebe
Author: Tadayoshi Sato <sa...@gmail.com>
AuthorDate: Tue Mar 16 16:58:30 2021 +0900
Fix https itests to even pass the disabled test (once it's enabled)
---
.../apache/camel/kafkaconnector/https/sink/CamelSinkHTTPSITCase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/itests-https/src/test/java/org/apache/camel/kafkaconnector/https/sink/CamelSinkHTTPSITCase.java b/tests/itests-https/src/test/java/org/apache/camel/kafkaconnector/https/sink/CamelSinkHTTPSITCase.java
index 20bb066..c12de94 100644
--- a/tests/itests-https/src/test/java/org/apache/camel/kafkaconnector/https/sink/CamelSinkHTTPSITCase.java
+++ b/tests/itests-https/src/test/java/org/apache/camel/kafkaconnector/https/sink/CamelSinkHTTPSITCase.java
@@ -99,7 +99,7 @@ public class CamelSinkHTTPSITCase extends CamelSinkTestSupport {
String actual = request.getBody().readUtf8();
LOG.debug("Received: {} ", actual);
- assertEquals("/ckc", request.getPath(), "Received path differed");
+ assertEquals("/ckc", request.getRequestUrl().encodedPath(), "Received path differed");
assertTrue(actual.startsWith(expected), "Received message content differed");
}