Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18982

PrefilteringLiveNotificationEmailDispatcherTest#addEvent is flickering

    XMLWordPrintable

Details

    • Unknown
    • org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailDispatcherTest#addEvent

    Description

      Rare flicker.

      Argument(s) are different! Wanted:
      sender.sendMails(
          {wiki:XWiki.user2 = org.xwiki.notifications.CompositeEvent@c0fe63b7, wiki:XWiki.user = org.xwiki.notifications.CompositeEvent@c0fe63b7}
      );
      -> at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailDispatcherTest.verifySendMailsCalled(PrefilteringLiveNotificationEmailDispatcherTest.java:149)
      Actual invocations have different arguments:
      sender.sendMails(
          {wiki:XWiki.user = org.xwiki.notifications.CompositeEvent@c0fe63b7}
      );
      -> at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailDispatcher.dispatch(PrefilteringLiveNotificationEmailDispatcher.java:158)
      sender.sendMails(
          {wiki:XWiki.user = org.xwiki.notifications.CompositeEvent@c0fe63b7}
      );
      -> at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailDispatcher.dispatch(PrefilteringLiveNotificationEmailDispatcher.java:158)
      sender.sendMails(
          {wiki:XWiki.user2 = org.xwiki.notifications.CompositeEvent@c0fe63b7}
      );
      -> at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailDispatcher.dispatch(PrefilteringLiveNotificationEmailDispatcher.java:158)
      
      	at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailDispatcherTest.verifySendMailsCalled(PrefilteringLiveNotificationEmailDispatcherTest.java:149)
      	at org.xwiki.notifications.notifiers.internal.email.live.PrefilteringLiveNotificationEmailDispatcherTest.addEvent(PrefilteringLiveNotificationEmailDispatcherTest.java:115)
      

      Happened also on Aug 11, 2021: https://riot.xwiki.com/riot/element-v1.8.0/#/room/!ikPtGZaGWtyblizzlR:matrix.xwiki.com/$1628682844316QTGXe:matrix.xwiki.com?via=matrix.org&via=matrix.xwiki.com&via=mephis.to

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: