Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-5617

Debug file rotation doesn't respect the rotation period

    XMLWordPrintable

    Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 11.0.3, 12.0.1, 13.0.0
    • 11.0.4, 12.0.1, 13.0.0
    • audit logging
    • None
    • Rank:
      1|hzp8g7:

      Description

      The log rotation test is failing: one file was creating with a rotation period of 4 minutes instead of 3.

      Error Message
      
      Log './logs/DebugTest-2/debugMerge-05.16.1989-00.03' exist != true !
      Logs generated : 
      - 'debugMerge-05.16.1989-00.10'
      - 'debugMerge-05.16.1989-00.04'
      - 'debugMerge-05.16.1989-00.00'
      - 'debugMerge-05.16.1989-00.07'
      Stacktrace
      
      java.lang.AssertionError: Log './logs/DebugTest-2/debugMerge-05.16.1989-00.03' exist != true !
      Logs generated : 
      - 'debugMerge-05.16.1989-00.10'
      - 'debugMerge-05.16.1989-00.04'
      - 'debugMerge-05.16.1989-00.00'
      - 'debugMerge-05.16.1989-00.07'
      
      	at org.testng.Assert.fail(Assert.java:94)
      	at com.sun.identity.shared.debug.DebugTestTemplate.checkLogFileStatus(DebugTestTemplate.java:109)
      	at com.sun.identity.shared.debug.DebugRotationTest.rotation(DebugRotationTest.java:180)
      	at com.sun.identity.shared.debug.DebugRotationTest.rotationInNormalDate(DebugRotationTest.java:49)
      
      

        Attachments

          Activity

            People

            quentin.castel Quentin CASTEL [X] (Inactive)
            quentin.castel Quentin CASTEL [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: