yes, exactly. I post process mine to remove the hostname from the class 
because my tooling generates the class based on the path. 

On Thursday, August 6, 2020 at 9:27:32 AM UTC-4, christop...@googlemail.com 
wrote:
>
> You mean postprocessing the result files to fake different class names to 
> workaround the laking separation of the testsuite by jenkins?
>
> jeremy....@riftio.com schrieb am Mittwoch, 5. August 2020 um 18:37:56 
> UTC+2:
>
>> I believe this construct in the junit xml files can be safely modified to 
>> force jenkins to see the test results as two separate tests
>>
>> <testcase classname= 
>>
>>
>>
>>
>>
>> On Wednesday, August 5, 2020 at 2:38:26 AM UTC-4, 
>> christop...@googlemail.com wrote:
>>>
>>> Hi,
>>>
>>> I found a strange phenomenon in test result display of jenkins. I had 
>>> two tests with very instable test results, good, bad, bad, good, good, good 
>>> and every time I opened the display, the sequence was different. But when 
>>> opening the tests I found out all of them either failed or passed.
>>>
>>> What I found out:
>>> I am compiling the same code as a static and a dynamic link library and 
>>> I am calling the same Unit tests for both variants. Thus, the test names by 
>>> class and name are identically but they are separated by the name of the 
>>> testsuite.
>>> To explain the problem above: tests for one of the variants failed while 
>>> the other passed. That might lead to a race condition while displaying the 
>>> test results.
>>>
>>> Now I am wondering why Jenkins does not respect the testsuite while 
>>> evaluation the test results.
>>> The tools I am working with:
>>> I am writing xunit-style test results as xml.
>>> I am parsing these test results with xunit plugin using the tool JUnit.
>>>
>>> Some of the tests also are implemented with GoogleTest but none of these 
>>> is causing problems (or at least I am not aware).
>>>
>>> Is there any idea out there for me how to progess here? Can I fix this 
>>> by myself with selection of the tools or their parameters or is this an 
>>> issue in jenkins or one of the plugins that loose or disregard the property 
>>> 'testsuite' during evaluation?
>>>
>>> May thank in advance!
>>> BR,
>>> Christoph
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/450368b9-a101-4444-8d06-a6207bf9f336o%40googlegroups.com.

Reply via email to