From: "Gábor Boskovits" <boskovits@gmail.com>
To: Julien Lepiller <julien@lepiller.eu>
Cc: 30526@debbugs.gnu.org
Subject: bug#30526: java-testng: non-deterministic test failures
Date: Mon, 26 Feb 2018 08:23:15 +0100 [thread overview]
Message-ID: <CAE4v=piV-NvnoTa0kegmHoqLh4rkTED=RFOQxb9mrVOZny3Z9g@mail.gmail.com> (raw)
In-Reply-To: <20180225121658.639b198b@lepiller.eu>
[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]
2018-02-25 12:16 GMT+01:00 Julien Lepiller <julien@lepiller.eu>:
> Le Mon, 19 Feb 2018 14:55:04 +0100,
> Ricardo Wurmus <rekado@elephly.net> 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.testInvocationCounterIsCorrect
> ForMethodWithDataProvider()
> > StackTrace:
> > java.lang.AssertionError: Arrays do not have the same size:3 != 4
> > at
> > test.testng387.TestNG387.testInvocationCounterIsCorrect
> ForMethodWithDataProvider(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.
[-- Attachment #2: Type: text/html, Size: 1936 bytes --]
next prev parent reply other threads:[~2018-02-26 7:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-19 13:55 bug#30526: java-testng: non-deterministic test failures Ricardo Wurmus
2018-02-21 9:07 ` Gábor Boskovits
2018-02-21 9:20 ` Gábor Boskovits
2018-02-25 11:16 ` Julien Lepiller
2018-02-26 7:23 ` Gábor Boskovits [this message]
2018-02-27 7:19 ` Gábor Boskovits
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAE4v=piV-NvnoTa0kegmHoqLh4rkTED=RFOQxb9mrVOZny3Z9g@mail.gmail.com' \
--to=boskovits@gmail.com \
--cc=30526@debbugs.gnu.org \
--cc=julien@lepiller.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).