Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Test discovery very slow with JDK11(JDK11+eclipse+junit launcher)
Test discovery very slow with JDK11 [message #1805418] Mon, 15 April 2019 07:20 Go to next message
Chris S is currently offline Chris SFriend
Messages: 20
Registered: November 2011
Junior Member
Hi,

we have a project with about 5000 JUnit testcases spread over 700 classes.
When launching the entire test suite in Eclipse 2018-12 with an Openjdk11, the launch takes approximately 60 seconds (which is about as long as the actual test run). It seems to stall on "creating class hierarchy (65%)" in the progress window. We've never seen this until switching over to Java 11. With previous versions of Eclipse and Java 8, this takes about 5 seconds.
I managed to use a JDK8 with 2018-12 as well and then it is fast again, so I don't think the problem lies in Eclipse itself but rather some interaction between Eclipse and JDK11. All this on Windows, I have not tried it in Linux.

All the project's users are seeing the same thing, so it isn't a local problem.

Has anyone else seen this or have a way around it?

TIA,
Chris
Re: Test discovery very slow with JDK11 [message #1805420 is a reply to message #1805418] Mon, 15 April 2019 07:34 Go to previous messageGo to next message
Noopur Gupta is currently offline Noopur GuptaFriend
Messages: 58
Registered: December 2012
Member
Looks like https://bugs.eclipse.org/bugs/show_bug.cgi?id=513334. Please add your observation in the bug report.
Re: Test discovery very slow with JDK11 [message #1805425 is a reply to message #1805420] Mon, 15 April 2019 08:43 Go to previous message
Chris S is currently offline Chris SFriend
Messages: 20
Registered: November 2011
Junior Member
Added a comment on that tracker. Not sure if it is the same issue or not but at least it has the same symptoms.
Previous Topic:This code confuses eclipse
Next Topic:'Problem Occurred' when suggestions come up
Goto Forum:
  


Current Time: Sun Sep 08 00:46:29 GMT 2024

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

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

Back to the top