Skip to content

Commit

Permalink
Azure Storage Data Lake appends newline to the file content #2302
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Apr 1, 2021
1 parent abebf5b commit 41c3818
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,14 @@ public void crud() {
.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 */
Expand Down

0 comments on commit 41c3818

Please sign in to comment.