You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2023/05/30 16:46:45 UTC

[camel] 01/01: Force failure for testing purpose

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 00a74e4e98eac667f8b0d7baedb1bf0abe1f50b8
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Tue May 30 18:46:16 2023 +0200

    Force failure for testing purpose
---
 .../org/apache/camel/component/es/integration/ElasticsearchBulkIT.java  | 2 +-
 1 file changed, 1 insertion(+), 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..fef699485b0 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,7 @@ 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());
     }