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 2022/10/04 12:26:01 UTC

[camel] 04/07: (chores) camel-azure-storage-datalake: avoid test false positives due to empty lists

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

commit e5079ded4918f4c86c8872ffb2f7f9d011852a95
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Oct 4 11:43:10 2022 +0200

    (chores) camel-azure-storage-datalake: avoid test false positives due to empty lists
---
 .../azure/storage/datalake/integration/DataLakeProducerIT.java          | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/components/camel-azure/camel-azure-storage-datalake/src/test/java/org/apache/camel/component/azure/storage/datalake/integration/DataLakeProducerIT.java b/components/camel-azure/camel-azure-storage-datalake/src/test/java/org/apache/camel/component/azure/storage/datalake/integration/DataLakeProducerIT.java
index cc5bd4e53fc..132c7689d37 100644
--- a/components/camel-azure/camel-azure-storage-datalake/src/test/java/org/apache/camel/component/azure/storage/datalake/integration/DataLakeProducerIT.java
+++ b/components/camel-azure/camel-azure-storage-datalake/src/test/java/org/apache/camel/component/azure/storage/datalake/integration/DataLakeProducerIT.java
@@ -55,6 +55,7 @@ public class DataLakeProducerIT extends Base {
                     null,
                     List.class);
 
+            Assertions.assertThat(filesystems.stream().map(FileSystemItem::getName)).isNotEmpty();
             Assertions.assertThat(filesystems.stream().map(FileSystemItem::getName)).doesNotContain(fileSystemName);
         }
 
@@ -99,6 +100,7 @@ public class DataLakeProducerIT extends Base {
                     null,
                     List.class);
 
+            Assertions.assertThat(filesystems.stream().map(FileSystemItem::getName)).isNotEmpty();
             Assertions.assertThat(filesystems.stream().map(FileSystemItem::getName)).doesNotContain(fileSystemName);
         }