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 2024/12/10 09:03:49 UTC
(unomi) branch fix-it-tests created (now 87055372f)
This is an automated email from the ASF dual-hosted git repository.
jsinovassinnaik pushed a change to branch fix-it-tests
in repository https://gitbox.apache.org/repos/asf/unomi.git
at 87055372f fix integrations tests
This branch includes the following new commits:
new 87055372f fix integrations tests
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(unomi) 01/01: fix integrations tests
Posted by js...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jsinovassinnaik pushed a commit to branch fix-it-tests
in repository https://gitbox.apache.org/repos/asf/unomi.git
commit 87055372fec155410d7de099dba4a2b9d461be9b
Author: jsinovassin <js...@jahia.com>
AuthorDate: Tue Dec 10 10:03:35 2024 +0100
fix integrations tests
---
.../java/org/apache/unomi/itests/migration/Migrate16xTo220IT.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/itests/src/test/java/org/apache/unomi/itests/migration/Migrate16xTo220IT.java b/itests/src/test/java/org/apache/unomi/itests/migration/Migrate16xTo220IT.java
index f892c338a..f109eda4b 100644
--- a/itests/src/test/java/org/apache/unomi/itests/migration/Migrate16xTo220IT.java
+++ b/itests/src/test/java/org/apache/unomi/itests/migration/Migrate16xTo220IT.java
@@ -66,7 +66,7 @@ public class Migrate16xTo220IT extends BaseIT {
}
// Do migrate the data set
- String commandResults = executeCommand("unomi:migrate 1.6.0 true");
+ String commandResults = executeCommand("unomi:migrate 1.6.0 true", 900000L, true);
// Prin the resulted output in the karaf shell directly
System.out.println("Migration command output results:");
@@ -262,7 +262,7 @@ public class Migrate16xTo220IT extends BaseIT {
// check that the scope mySite have been created based on the previous existings events
Map<String, Long> existingScopesFromEvents = persistenceService.aggregateWithOptimizedQuery(null, new TermsAggregate("scope"), Event.ITEM_TYPE);
for (String scopeFromEvents : existingScopesFromEvents.keySet()) {
- if (!Objects.equals(scopeFromEvents, "_filtered")) {
+ if (!Objects.equals(scopeFromEvents, "_filtered") && !Objects.equals(scopeFromEvents, "_missing")) {
Scope scope = scopeService.getScope(scopeFromEvents);
Assert.assertNotNull(String.format("Unable to find registered scope %s", scopeFromEvents), scope);
}