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

EditIT#editWithConflict is flickering on mysql/tomcat/chrome on the CI

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.3
    • Fix Version/s: None
    • Labels:
    • Environment:
      MySQL 5.7.x, Tomcat 8.5.x, Chrome
    • Difficulty:
      Unknown
    • Similar issues:
    • Flickering Test:
      org.xwiki.flamingo.test.ui.EditIT#editWithConflict

      Description

      Before 11.5RC1, the test is flickering with the following message:

      expected: <A second edit from another tab> but was: <A first edit from a tab.>
      

      Here the stack:

      org.opentest4j.AssertionFailedError: expected: <A second edit from another tab> but was: <A first edit from a tab.>
      	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
      	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:195)
      	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:184)
      	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:179)
      	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1124)
      	at org.xwiki.flamingo.test.ui.EditIT.editWithConflict(EditIT.java:349)
      

      Apparently the issue happens only with the following config: MySQL 5.7.x, Tomcat 8.5.x, Chrome

      Starting with 11.5RC1 the test is still flickering but with the following message:

      org.opentest4j.AssertionFailedError: 
      expected: <A fifth edit from another tab.
      Another line.
      Yet another line with other few changes.> but was: <A fourth edit from another tab.
      Another line.
      Yet another line with other few changes.
      And again a new line>
      	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
      	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:195)
      	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:184)
      	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:179)
      	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1124)
      	at org.xwiki.flamingo.test.ui.EditIT.editWithConflict(EditIT.java:579)
      

       

        Attachments

          Activity

            People

            • Assignee:
              surli Simon Urli
              Reporter:
              surli Simon Urli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: