Skip to content

Commit

Permalink
Clean up a bit more the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
surli committed Feb 16, 2024
1 parent d7345d4 commit a2d9dd2
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 106 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ private boolean isPrefiltered(Event event, String entityId, boolean mail)
return result.getTotalHits() > 0;
} catch (Exception e) {
this.logger.error("Failed to check status for event [{}] and entity [{}]", event.getId(), entityId, e);

return false;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@
"xwikiDbHbmCommonExtraMappings=mailsender.hbm.xml,notification-filter-preferences.hbm.xml",
"xwikiCfgPlugins=com.xpn.xwiki.plugin.scheduler.SchedulerPlugin",
// Switch to domain-based URL
"xwikiCfgVirtualUsepath=0",
"xwikiPropertiesAdditionalProperties=notifications.rest.cache=false"
"xwikiCfgVirtualUsepath=0"
},
extraJARs = {
// It's currently not possible to install a JAR contributing a Hibernate mapping file as an Extension. Thus,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@
*/
@UITest(
properties = {
"xwikiDbHbmCommonExtraMappings=notification-filter-preferences.hbm.xml",
"xwikiPropertiesAdditionalProperties=notifications.rest.cache=false"
"xwikiDbHbmCommonExtraMappings=notification-filter-preferences.hbm.xml"
},
extraJARs = {
// It's currently not possible to install a JAR contributing a Hibernate mapping file as an Extension. Thus,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public void generate(File configurationFileTargetDirectory, String version, Arti
// Copy a logback config file for testing. This allows putting overrides in it that are needed only for the
// tests. Only do this in the CI for now (or if debug is true) since this is currently used for debugging
// problems.
if (DockerTestUtils.isInAContainer() || this.testConfiguration.isVerbose()) {
if (DockerTestUtils.isInAContainer() || this.testConfiguration.isDebug()) {
copyLogbackConfigFile(configurationFileTargetDirectory);
}
}
Expand Down

0 comments on commit a2d9dd2

Please sign in to comment.