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.
Egor Ushakov wrote: > Ivan, > > if possible try to use less sleep calls in tests, we now try to reduce > test time. >
a63ecec371cd output2's tests' sleep checks if the IO work queue (known as Controller in output2 and Task in terminal) is empty and if so it short circuits the sleep. Added a similar mechanism but reintroduced ...terminal.test.IOTest as opposed to accessing the Task class directly. IOTest and Task no implement the method isQuiescent() that is used in Terminal tests sleep. (IOTest is not a public API of Terminal module but is accessible to the unit tests). Task.dispatch() renamed to Task.post() and dispatch() is now an internal name.
Integrated into 'main-golden', will be available in build *201004110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a63ecec371cd User: ivan@netbeans.org Log: bug #183598 (Less sleeping in Terminal tests)