This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch test-github-action
in repository https://gitbox.apache.org/repos/asf/camel.git

commit caf467b07d2176910f6fdca50fed49d8f554178b
Author: Nicolas Filotto <nfilo...@talend.com>
AuthorDate: Wed May 31 00:21:19 2023 +0200

    Force failure for testing purpose
---
 .../org/apache/camel/component/es/integration/ElasticsearchBulkIT.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/es/integration/ElasticsearchBulkIT.java
 
b/components/camel-elasticsearch/src/test/java/org/apache/camel/component/es/integration/ElasticsearchBulkIT.java
index bd5ab8f5bac..c14bec4480a 100644
--- 
a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/es/integration/ElasticsearchBulkIT.java
+++ 
b/components/camel-elasticsearch/src/test/java/org/apache/camel/component/es/integration/ElasticsearchBulkIT.java
@@ -72,7 +72,8 @@ class ElasticsearchBulkIT extends ElasticsearchTestSupport {
                 "{\"testBulkWithString1\": \"some-value\"}", 
"{\"testBulkWithString2\": \"some-value\"}");
 
         List<?> indexIds = template.requestBody("direct:bulk", documents, 
List.class);
-        assertNotNull(indexIds, "indexIds should be set");
+
+        assertNull(indexIds, "indexIds should be set");
         assertCollectionSize("Indexed documents should match the size of 
documents", indexIds, documents.size());
     }
 

Reply via email to