You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2021/04/01 15:31:53 UTC
[camel-quarkus] branch master updated: Azure Storage Data Lake
appends newline to the file content #2302
This is an automated email from the ASF dual-hosted git repository.
ppalaga pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push:
new 41c3818 Azure Storage Data Lake appends newline to the file content #2302
41c3818 is described below
commit 41c3818fb2509c578bfdd1e01fa679f076e47029
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Thu Apr 1 16:20:48 2021 +0200
Azure Storage Data Lake appends newline to the file content #2302
---
.../azure/storage/datalake/it/AzureStorageDatalakeTest.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/extensions-jvm/azure-storage-datalake/integration-test/src/test/java/org/apache/camel/quarkus/component/azure/storage/datalake/it/AzureStorageDatalakeTest.java b/extensions-jvm/azure-storage-datalake/integration-test/src/test/java/org/apache/camel/quarkus/component/azure/storage/datalake/it/AzureStorageDatalakeTest.java
index f35fbe1..f14d451 100644
--- a/extensions-jvm/azure-storage-datalake/integration-test/src/test/java/org/apache/camel/quarkus/component/azure/storage/datalake/it/AzureStorageDatalakeTest.java
+++ b/extensions-jvm/azure-storage-datalake/integration-test/src/test/java/org/apache/camel/quarkus/component/azure/storage/datalake/it/AzureStorageDatalakeTest.java
@@ -84,16 +84,14 @@ class AzureStorageDatalakeTest {
.get("/azure-storage-datalake/filesystem/" + filesystem + "/path/" + filename)
.then()
.statusCode(200)
- // TODO should be Matches.is(content) https://github.com/apache/camel-quarkus/issues/2302
- .body(Matchers.startsWith(content));
+ .body(Matchers.is(content));
/* Consumer */
RestAssured.given()
.get("/azure-storage-datalake/consumer/" + filesystem + "/path/" + filename)
.then()
.statusCode(200)
- // TODO should be Matches.is(content) https://github.com/apache/camel-quarkus/issues/2302
- .body(Matchers.startsWith(content));
+ .body(Matchers.is(content));
} finally {
/* Clean up */