You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by pv...@apache.org on 2024/04/02 15:39:56 UTC

(nifi) branch support/nifi-1.x updated: NIFI-12987 fix unit test after change to make controller service type searchable

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

pvillard pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
     new 23dc121e97 NIFI-12987 fix unit test after change to make controller service type searchable
23dc121e97 is described below

commit 23dc121e97d038b2a717a225f278a9d02d769260
Author: Mike Moser <mo...@apache.org>
AuthorDate: Tue Apr 2 14:48:24 2024 +0000

    NIFI-12987 fix unit test after change to make controller service type searchable
    
    Signed-off-by: Pierre Villard <pi...@gmail.com>
    
    This closes #8594.
---
 .../nifi/web/controller/ControllerSearchServiceRegressionTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/test/java/org/apache/nifi/web/controller/ControllerSearchServiceRegressionTest.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/test/java/org/apache/nifi/web/controller/ControllerSearchServiceRegressionTest.java
index e006185f7e..abf3240e82 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/test/java/org/apache/nifi/web/controller/ControllerSearchServiceRegressionTest.java
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/test/java/org/apache/nifi/web/controller/ControllerSearchServiceRegressionTest.java
@@ -519,7 +519,7 @@ public class ControllerSearchServiceRegressionTest extends AbstractControllerSea
                 .withControllerServiceNode(getControllerServiceNode(id, name, "foo comment", rawProperties, AUTHORIZED));
 
         // when - search for name
-        whenExecuteSearch("controllerserv");
+        whenExecuteSearch("servicename");
 
         // then
         thenResultConsists()