Skip to main content



      Home
Home » Eclipse Projects » NatTable » Unit Tests - Issues with timeout
Unit Tests - Issues with timeout [message #1834493] Wed, 11 November 2020 07:45 Go to next message
Eclipse UserFriend
Hi,

We recently updated the JUNIT library in our project to 4.13 and now all (except the first) tests which involve the NatTable widget are failing.

Creating the table widget itself fails as the (shared static) ThreadGroup that the Scheduler of the table is using is disposed by the JUNIT framework. This disposal happens because the FailOnTimeout statement is creating a thread group running the test and then disposing the thread group. Now all child groups are also invalid. Thus the next test that wants to create a table widget is failing.

Is this a bug or should we simply stop using a time limited test?

Regards,
Michael


Re: Unit Tests - Issues with timeout [message #1834508 is a reply to message #1834493] Wed, 11 November 2020 10:33 Go to previous message
Eclipse UserFriend
Hi,

If it worked before the update and now it is failing, I personally would say there is a bug in JUnit. The code in NatTable exists this way for years.

But to be honest, I haven't used JUnit timeouts before, so I can't give you any additional information that could help here.
Greez,
Dirk
Previous Topic:TreeLayer and RowReorderLayer -> supported?
Next Topic:Drag the mouse to select multiple row headers to select multiple rows
Goto Forum:
  


Current Time: Wed May 21 01:40:17 EDT 2025

Powered by FUDForum. Page generated in 0.03365 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top