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

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

    XMLWordPrintable

Details

    • Unknown
    • org.xwiki.flamingo.test.docker.EditIT#editWithConflict|org.xwiki.flamingo.test.docker.AllIT$NestedEditIT.editWithConflict{TestUtils, TestReference}

    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

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: