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.
There is a race-condition in the test.
It was found out, that the race-condition wasn't in the test, but in the implementation. Fixed by changeset: 294215:5f07092bdab3 http://hg.netbeans.org/core-main/rev/5f07092bdab3
The error message of the test was: The test testAsynchronous did not finish in 299240ms "Test Watch Dog: testAsynchronous" Id=19 in WAITING waiting on lock=[Ljava.lang.Boolean;@621be5d1 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:502) at org.openide.awt.QuickSearchTest.testAsynchronous(QuickSearchTest.java:454) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at junit.framework.TestCase.runTest(TestCase.java:176) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:102) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:478) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:404) at java.lang.Thread.run(Thread.java:745) Other threads were not involved.
Integrated into 'main-silver', will be available in build *201512030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5f07092bdab3 User: mentlicher@netbeans.org Log: #256887: Resolving a race-condition, hasSearchText needs to be accessed in EQ exclusively.