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

NotificationsIT#testNotifications is flickering

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A
    • org.xwiki.platform.notifications.test.ui.NotificationsIT#testNotifications

    Description

      Getting the following failure:

      java.lang.AssertionError: expected:<2147483647> but was:<1>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:834)
      	at org.junit.Assert.assertEquals(Assert.java:645)
      	at org.junit.Assert.assertEquals(Assert.java:631)
      	at org.xwiki.platform.notifications.test.ui.NotificationsIT.testNotifications(NotificationsIT.java:309)
      

      The code just before this one is supposed to create 21 notifications and the API return max int when there is more than 20 notifications.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: