Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1668

RollingCalendarTest#testCollisionFreeness failing on "my machine"

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.3.0-beta0
    • logback-core
    • None

    Description

      RollingCalendarTest#testCollisionFreeness is always failing when executed on "my machine".

      Failed tests: 
        RollingCalendarTest.testCollisionFreenes:187->checkCollisionFreeness:200
      

      I initially thought it was caused by some particularities of my dev environment until I noticed it also happen sometimes for MacOS Github builds. Oddly enough, it does not happen all the time in Github whereas this test never succeeds on my machine.

      I tried to find the root cause of the issue but honestly I don't understand what this test is actually doing

      I ran the test with the following JDK versions and it failed every time:

      openjdk version "11.0.15" 2022-04-19 LTS
      OpenJDK Runtime Environment Zulu11.56+19-CA (build 11.0.15+10-LTS)
      OpenJDK 64-Bit Server VM Zulu11.56+19-CA (build 11.0.15+10-LTS, mixed mode)
      
      openjdk version "17.0.4" 2022-07-19 LTS
      OpenJDK Runtime Environment Zulu17.36+13-CA (build 17.0.4+8-LTS)
      OpenJDK 64-Bit Server VM Zulu17.36+13-CA (build 17.0.4+8-LTS, mixed mode, sharing)
      

      I reported this issue for the record just in case it already happened in the past. Now you know you have a way to reproduce it

      Attachments

        Activity

          People

            logback-dev Logback dev list
            brenuart Bertrand Renuart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: