[jboss-jira] [JBoss JIRA] (LOGMGR-82) PeriodicSizeRotatingFileHandlerTests rotation tests are a bit dodgy

James Perkins (JIRA) issues at jboss.org
Fri Aug 18 14:37:00 EDT 2017


    [ https://issues.jboss.org/browse/LOGMGR-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451551#comment-13451551 ] 

James Perkins edited comment on LOGMGR-82 at 8/18/17 2:36 PM:
--------------------------------------------------------------

Of course this seems to be failing now. The {{yyyy-MM-dda}} pattern is failing at 11:00 am PDT.

{code:title=Full Failure Message}
Failed tests: 
  PeriodicSizeRotatingFileHandlerTests.testPeriodicAndSizeRotate:179->testPeriodicAndSizeRotate0:347 Expected NO log rotation, but it happened anyways
Handler: yyyy-MM-dda ; Message: yyyy-MM-dd-HH ; testSize=false
Checking for log file here: /home/jperkins/projects/jboss/logging/jboss-logmanager/target/logs/rotating-file-handler.log.2017-08-18AM
List of log files:
	rotating-file-handler.log.2017-08-18AM
	rotating-file-handler.log
-- End of listing --
{code}


was (Author: jamezp):
Of course this seems to be failing now. The {{yyyy-MM-dda}} pattern is failing at 11:00 am PDT.

> PeriodicSizeRotatingFileHandlerTests rotation tests are a bit dodgy 
> --------------------------------------------------------------------
>
>                 Key: LOGMGR-82
>                 URL: https://issues.jboss.org/browse/LOGMGR-82
>             Project: JBoss Log Manager
>          Issue Type: Bug
>            Reporter: James Perkins
>            Assignee: James Perkins
>             Fix For: 2.1.0.Alpha3
>
>
> The rotation tests seem to fail at random days and times. The test {{testPeriodicAndSizeRotate}} needs to be looked at before re-enabling it.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list