Wrong times in jenkins test result view for run time of tests #61
Comments
|
Can you share the command you're running and its parameters? |
|
I think the problem is that ut_xunit_reporter creates it's output with the date format of the database, which is our case german, and therefore with commas instead of points:
|
|
I see. If I remember correctly you need to have the database in German for some of your tests are dependent on that. Otherwise the latest cli (development branch) now reacts to NLS_LANG-environment variable so you could set that to en_US. @jgebal should we force specific number-format on our reporters? Maybe at least xunit reporter? |
|
That is a good question. |
|
No - my database is by default in German. I have to switch to several other languages to ensure, that some outputs remains in a defined language and some have to change, for an example an English colleague calls a invoice for a Spanish customer. In this case the GUI has to be shown in English but the invoice report furthermore in Spanish. I don't have Jenkins here in German, only the GUI is german, so cannot test this there. Does not find, if the junit5 xml formatter is dependent from environment, maybe this would help? |
|
@tkleiber Not sure if I understand your usecase properly. You want run CI database in German (NLS_SETTINGS-wise) but get en_US number-format for xunit-report? or run CI database in en_US (not possible with cli 3.0.4, but with the current development branch)? |
|
Test objects run in database, where following is set according to nls_database_parameters: Test sessions has to be run in different nls_session_parameters as described above. Jenkins run on Linux and seems to require English number format in the times in the xunit-reports. Junit4 itself seems to create ever English (or UTF-8) format independent from java user.language etc., so: |
|
I wonder. |
|
You're right, it is according to w3c XML Schema:
|
|
Submitted new issue to utPLSQL. |
|
@tkleiber - this fix will be part of next release of utPLSQL |
Don't know it this issue fit's here or should be in the utplsql project direct.
See first the console output:
There you see, that the test running 142 seconds.
But the test results view show 4 year and 6 month running, all the other durations are wrong too:
The text was updated successfully, but these errors were encountered: