You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2024/09/26 16:57:00 UTC
[jira] [Resolved] (MINIFICPP-2456) Elasticsearch API Key test transiently fails in CI
[ https://issues.apache.org/jira/browse/MINIFICPP-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marton Szasz resolved MINIFICPP-2456.
-------------------------------------
Resolution: Done
> Elasticsearch API Key test transiently fails in CI
> --------------------------------------------------
>
> Key: MINIFICPP-2456
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2456
> Project: Apache NiFi MiNiFi C++
> Issue Type: New Feature
> Reporter: Gábor Gyimesi
> Assignee: Gábor Gyimesi
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Test scenario: "MiNiFi instance deletes a document from Elasticsearch using API Key authentication" fails in CI runs on the following step:
> * *Given* an Elasticsearch server is set up and a single document is present with "preloaded_id" in "my_index"
> * *And* a GetFile processor with the "Input Directory" property set to "/tmp/input"
> * *And* a file with the content "hello world" is present in "/tmp/input"
> * *And* a PostElasticsearch processor
> * *And* the "Index" property of the PostElasticsearch processor is set to "my_index"
> * *And* the "Identifier" property of the PostElasticsearch processor is set to "preloaded_id"
> * *And* the "Action" property of the PostElasticsearch processor is set to "delete"
> * *And* a SSL context service is set up for PostElasticsearch and Elasticsearch
> * *And* an ElasticsearchCredentialsService is set up for PostElasticsearch with ApiKey
> *(Step failed)*
> ** Extra data: line 1 column 7 (char 6)
> * *And* a PutFile processor with the "Directory" property set to "/tmp/output"
> * *And* the "success" relationship of the GetFile processor is connected to the PostElasticsearch
> * *And* the "success" relationship of the PostElasticsearch processor is connected to the PutFile
> * *When* both instances start up
> * *Then* a flowfile with the content "hello world" is placed in the monitored directory in less than 20 seconds
> * *And* Elasticsearch is empty
--
This message was sent by Atlassian Jira
(v8.20.10#820010)