There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-0a5854b4-d3df-4eb3-bea3-41accd628242 XWIKI-18982 Open

PrefilteringLiveNotificationEmailDispatcherTest#addEvent is flickering

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-06ca2efa-31b0-4ac3-af30-3bab046fe73f Florean Oana-Lavinia on 28/May/24 18:55
 

Slightly different stacktrace / line numbers:

Argument(s) are different! Wanted:
sender.sendMails(
    {wiki:XWiki.user = [null at 2024-05-28 08:13:53 by null on null with id id], wiki:XWiki.user2 = [null at 2024-05-28 08:13:53 by null on null with id id]}
);
-> at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailSender.sendMails(PrefilteringLiveNotificationEmailSender.java:77)
Actual invocations have different arguments:
sender.sendMails(
    {wiki:XWiki.user = [null at 2024-05-28 08:13:53 by null on null with id id]}
);
-> at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailDispatcher.dispatch(PrefilteringLiveNotificationEmailDispatcher.java:154)
sender.sendMails(
    {wiki:XWiki.user = [null at 2024-05-28 08:13:53 by null on null with id id]}
);
-> at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailDispatcher.dispatch(PrefilteringLiveNotificationEmailDispatcher.java:154)
sender.sendMails(
    {wiki:XWiki.user2 = [null at 2024-05-28 08:13:53 by null on null with id id]}
);
-> at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailDispatcher.dispatch(PrefilteringLiveNotificationEmailDispatcher.java:154)

	at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailSender.sendMails(PrefilteringLiveNotificationEmailSender.java:77)
	at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailDispatcherTest.verifySendMailsCalled(PrefilteringLiveNotificationEmailDispatcherTest.java:140)
	at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailDispatcherTest.addEvent(PrefilteringLiveNotificationEmailDispatcherTest.java:112)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)