You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2022/08/19 10:35:58 UTC
[GitHub] [logging-log4cxx] ams-tschoening commented on pull request #115: LOGCXX-527: mock the clock for tests
ams-tschoening commented on PR #115:
URL: https://github.com/apache/logging-log4cxx/pull/115#issuecomment-1220521496
I reliably get the following error on my Windows 10 with VS 2022:
```
99% tests passed, 1 tests failed out of 67
Total Test time (real) = 70.09 sec
The following tests FAILED:
61 - timebasedrollingtest (Failed)
Errors while running CTest
Output from these tests are in: C:/Users/tschoening/Documents/Svn/Src/Libs/trunk/C++/Logging/log4cxx/master/src/out/build/x64-Debug/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
```
```
----------------------------------------------------------
61/67 Testing: timebasedrollingtest
61/67 Test: timebasedrollingtest
Command: "C:/Users/tschoening/Documents/Svn/Src/Libs/trunk/C++/Logging/log4cxx/master/src/out/build/x64-Debug/src/test/cpp/rolling/timebasedrollingtest.exe" "-v"
Directory: C:/Users/tschoening/Documents/Svn/Src/Libs/trunk/C++/Logging/log4cxx/master/src/src/test/resources
"timebasedrollingtest" start time: Aug 19 12:21 Mitteleurop�ische Sommerzeit
Output:
----------------------------------------------------------
LC_CTYPE: German_Germany.1252
timebasedrollingtest: Advancing one second
01:00:01,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test1:436 - Hello---0
01:00:01,500 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test1:436 - Hello---1
01:00:02,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test1:436 - Hello---2
01:00:02,500 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test1:436 - Hello---3
01:00:03,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test1:436 - Hello---4
Advancing one second
01:00:01,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test2:464 - Hello---0
01:00:01,500 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test2:464 - Hello---1
01:00:02,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test2:464 - Hello---2
01:00:02,500 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test2:481 - Hello---3
01:00:03,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test2:481 - Hello---4
Advancing one second
01:00:01,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test3:510 - Hello---0
01:00:01,500 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test3:510 - Hello---1
01:00:02,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test3:510 - Hello---2
01:00:02,500 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test3:510 - Hello---3
01:00:03,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test3:510 - Hello---4
Advancing one second
01:00:01,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test5:588 - Hello---0
01:00:01,500 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test5:588 - Hello---1
01:00:02,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test5:588 - Hello---2
01:00:02,500 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test5:588 - Hello---3
01:00:03,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test5:588 - Hello---4
Advancing one second
01:00:01,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test6:617 - Hello---0
01:00:01,500 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test6:617 - Hello---1
01:00:02,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test6:617 - Hello---2
01:00:02,500 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test6:617 - Hello---3
01:00:03,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#test6:617 - Hello---4
Advancing one second
01:00:01,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#create_directories:690 - Hello---0
01:00:01,500 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#create_directories:690 - Hello---1
01:00:02,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#create_directories:690 - Hello---2
01:00:02,500 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#create_directories:690 - Hello---3
01:00:03,000 [0x00000cd4] DEBUG log4j.TimeBasedRollingTest#create_directories:690 - Hello---4
Line 695: true != File(fileNames[x]).exists(pool)
FAILED 1 of 6
Failed Tests Total Fail Failed %
===================================================
timebasedrollingtest 6 1 16.67%
create_directories
<end of output>
Test time = 0.30 sec
----------------------------------------------------------
Test Failed.
"timebasedrollingtest" end time: Aug 19 12:21 Mitteleurop�ische Sommerzeit
"timebasedrollingtest" time elapsed: 00:00:00
----------------------------------------------------------
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org