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 22:14:58 UTC

[camel] branch main updated: Force failure for testing purpose

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

nfilotto pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 78f55206953 Force failure for testing purpose
78f55206953 is described below

commit 78f5520695312b1bf2f3b77ae7d4b3d8a46cb4bb
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Tue May 30 19:52:31 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());
     }