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.
RequestProcessor180386Test constantly fails on my computer. One of the failing tests is at least marked as randomly failing, but the other is considered fine. Still fails all the time. Testcase: testSomeTasksNotRunIfShutDown(org.openide.util.RequestProcessor180386Test): FAILED (RequestProcessor180386Test.testSomeTasksNotRunIfShutDown marked @RandomlyFails so try just running test again) junit.framework.AssertionFailedError: (RequestProcessor180386Test.testSomeTasksNotRunIfShutDown marked @RandomlyFails so try just running test again) at org.openide.util.RequestProcessor180386Test.testSomeTasksNotRunIfShutDown(RequestProcessor180386Test.java:169) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:89) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:345) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:274) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:364) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:214) Testcase: testInvokeAnySingleThread(org.openide.util.RequestProcessor180386Test): FAILED Not all 1000 threads should have completed, but 1000 did. junit.framework.AssertionFailedError: Not all 1000 threads should have completed, but 1000 did. at org.openide.util.RequestProcessor180386Test.testInvokeAnySingleThread(RequestProcessor180386Test.java:506) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:89) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:345) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:274) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:364) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:214) Test org.openide.util.RequestProcessor180386Test FAILED
I was not able to reproduce either of these failures on Windows or Mac. However, I have made some improvements that should help with possible corner-cases. Try it now and reopen if necessary. Fixed in main/ ee54144c6bff
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ee54144c6bff User: tboudreau@netbeans.org Log: #182637 - random test failures in RequestProcessor180386Test - cannot reproduce all of them, but hopefully this will improve things