You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by "Thorsten Schöning (JIRA)" <lo...@logging.apache.org> on 2014/02/10 13:56:19 UTC
[jira] [Resolved] (LOGCXX-290) timebasedrollingtest fails on
Windows
[ https://issues.apache.org/jira/browse/LOGCXX-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Schöning resolved LOGCXX-290.
--------------------------------------
Resolution: Duplicate
I will close this bug because there's already one witht he same content.
> timebasedrollingtest fails on Windows
> -------------------------------------
>
> Key: LOGCXX-290
> URL: https://issues.apache.org/jira/browse/LOGCXX-290
> Project: Log4cxx
> Issue Type: Bug
> Components: Tests
> Environment: Windows XP SP2, Compiler: Microsoft VC 8/SP1, ant build, options -Dwith-apr=..\apr\apr-1.2.12 -Dwith-apr-util=..\apr-util\apr-util-1.2.12
> Reporter: Michael Waeber
> Assignee: Curt Arnold
>
> The following tests fail on Windows XP with log4cxx SVN668112:
> TimeBasedRollingTest::test3
> Expected file tbr-test3.3 contains 1 log entry, the written file contains 2 log entries
> TimeBasedRollingTest::test6
> Expected file tbr-test6.3 contains 1 log entry, the written file contains 2 log entries
> Maybe this caused by the inaccuracy of apr_sleep() on Windows.
> Logfile:
> ---------------------------
> [exec] Line 248: true != Compare::compare(File(filenames[3]), File(LOG4CXX_STR("witness/rolling/tbr-test3.3")))
> [exec] log4cxx: No writer set for the appender named [].
> [exec] log4cxx: No writer set for the appender named [].
> [exec] log4cxx: No writer set for the appender named [].
> [exec] Line 417: true != Compare::compare(File(filenames[3]), File(LOG4CXX_STR("witness/rolling/tbr-test6.3")))
> [exec] timebasedrollingtest: Waiting until next second and 100 millis.Done waiting.Files [output/test3-2008-06-16_19_37_45] and [witness/rolling/tbr-test3.3] differ on line 1
> [exec] One reads: [TimeBasedRollingTest - Hello---3].
> [exec] Other reads:[TimeBasedRollingTest - Hello---4].
> [exec] --------------------------------
> [exec] Contents of output/test3-2008-06-16_19_37_45:
> [exec] 1 : TimeBasedRollingTest - Hello---3
> [exec] 2 : TimeBasedRollingTest - Hello---4
> [exec] --------------------------------
> [exec] Contents of witness/rolling/tbr-test3.3:
> [exec] 1 : TimeBasedRollingTest - Hello---4
> [exec] Waiting until next second and 100 millis.Done waiting.Waiting until next second and 100 millis.Done waiting.Files [output/test6.log] and [witness/rolling/tbr-test6.3] differ on line 1
> [exec] One reads: [TimeBasedRollingTest - Hello---3].
> [exec] Other reads:[TimeBasedRollingTest - Hello---4].
> [exec] --------------------------------
> [exec] Contents of output/test6.log:
> [exec] 1 : TimeBasedRollingTest - Hello---3
> [exec] 2 : TimeBasedRollingTest - Hello---4
> [exec] --------------------------------
> [exec] Contents of witness/rolling/tbr-test6.3:
> [exec] 1 : TimeBasedRollingTest - Hello---4
> [exec] FAILED 2 of 6
> ---------------------------
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)