This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
InitJobTest is failing for no reason and there is no way to investigate what is wrong. Please find the root cause of the failure
Created attachment 31499 [details] The failure report
I have no idea what the tests do. Could you add some debug messages to the test? Where is posting the error message - 'Did not finish'? I did not find it in the test source. Is it failing only on one machine or on all machines?
"Could you add some debug messages to the test?" - there are debug messages. "I have no idea what the tests do" - I have no idea what your infrastructure does. That is no excuse. The test works on my computer and very likely on yours if you run it. So the infrastructure around is the primary suspect. 'Did not finish' - The test is not printing that message. It is from the infrastructure. "Is it failing only on one machine or on all machines?" - you do not know? I thought that you run the tests and you upload the results somewhere! Anyway it see: http://beetle.czech:8080/unittest/TestCase.jsp?issues=3688
The tests were started with selected JDK, using selected ANT version, selected version of test sources and ide build. Tests did run and finished. Their results were sent to database. So my infrastructure works correctly :). FYI The infrastrucure is autonomous it executes daily about 10000 tests. I cannot solve problems of each failing test.
The InitJobTest is failing only on windows. I will attach a thread dump. It runs in AWT event queue (NbTestCase.runInEQ() return true) but it gets stuck even if it doesn't run in EQ.
Created attachment 31617 [details] Thread dump.
Dafe, this is your test and moreover you have windows, can you please find out what is wrong? Feel free to ask for help if you need one.
*** Issue 87001 has been marked as a duplicate of this issue. ***
fixed in main trunk: Checking in src/org/openide/util/AsyncInitSupport.java; /cvs/openide/util/src/org/openide/util/AsyncInitSupport.java,v <-- AsyncInitSupport.java new revision: 1.4; previous revision: 1.3 done Checking in test/unit/src/org/openide/util/InitJobTest.java; /cvs/openide/util/test/unit/src/org/openide/util/InitJobTest.java,v <-- InitJobTest.java new revision: 1.3; previous revision: 1.2 done