You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by js...@apache.org on 2023/03/22 18:26:27 UTC

[unomi] branch UNOMI-745-fix-NPE updated: refresh groovy index after remove

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

jsinovassinnaik pushed a commit to branch UNOMI-745-fix-NPE
in repository https://gitbox.apache.org/repos/asf/unomi.git


The following commit(s) were added to refs/heads/UNOMI-745-fix-NPE by this push:
     new e070e8043 refresh groovy index after remove
e070e8043 is described below

commit e070e8043e79dabb104e2c3e4b9aa967594bf3e5
Author: jsinovassin <js...@jahia.com>
AuthorDate: Wed Mar 22 19:26:06 2023 +0100

    refresh groovy index after remove
---
 .../src/test/java/org/apache/unomi/itests/GroovyActionsServiceIT.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/itests/src/test/java/org/apache/unomi/itests/GroovyActionsServiceIT.java b/itests/src/test/java/org/apache/unomi/itests/GroovyActionsServiceIT.java
index a0d42cd3e..1382533d5 100644
--- a/itests/src/test/java/org/apache/unomi/itests/GroovyActionsServiceIT.java
+++ b/itests/src/test/java/org/apache/unomi/itests/GroovyActionsServiceIT.java
@@ -162,7 +162,7 @@ public class GroovyActionsServiceIT extends BaseIT {
         Assert.assertNotNull(groovyCodeSource);
 
         groovyActionsService.remove(UPDATE_ADDRESS_ACTION);
-        refreshPersistence(GroovyAction.class);
+        refreshPersistence(GroovyAction.class, ActionType.class);
 
         Thread.sleep(2000);
         groovyCodeSource = groovyActionsService.getGroovyCodeSource(UPDATE_ADDRESS_ACTION);