bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30526: java-testng: non-deterministic test failures


From: Gábor Boskovits
Subject: bug#30526: java-testng: non-deterministic test failures
Date: Tue, 27 Feb 2018 08:19:50 +0100

2018-02-26 8:23 GMT+01:00 Gábor Boskovits <address@hidden>:
2018-02-25 12:16 GMT+01:00 Julien Lepiller <address@hidden>:
Le Mon, 19 Feb 2018 14:55:04 +0100,
Ricardo Wurmus <address@hidden> a écrit :

> Sometimes I get this error when building java-testng 6.14.2:
>
> --8<---------------cut here---------------start------------->8---
> ===============================================
> TestNG
> Total tests run: 1630, Failures: 1, Skips: 0
> ===============================================
>
> Failures in <suite> :TestNG, <test> :Regression2
> test.testng387.TestNG387.testInvocationCounterIsCorrectForMethodWithDataProvider()
> StackTrace:
>  java.lang.AssertionError: Arrays do not have the same size:3 != 4
>         at
> test.testng387.TestNG387.testInvocationCounterIsCorrectForMethodWithDataProvider(Unknown
> Source) ... Removed 27 stack frames
>
> phase `check' failed after 297.3 seconds
> --8<---------------cut here---------------end--------------->8---
>
>

Hi,

I've updated testng to the latest version (6.14.3) and it seems to
solve the issue. Can you confirm it?


 
Ok, I will check that today. 
It seems, that these are related to some race conditions in the parallel execution of tests. We also have verifyThatTestMethodsRunInParallelThreads failing sometimes. I will report back with results today.

guix build --rounds=30 run to completion with this update, referring to discussion on the IRC I'm closing this bug as fixed.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]