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.

Bug 183598 - Less sleeping in Terminal tests
Summary: Less sleeping in Terminal tests
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P2 normal (vote)
Assignee: ivan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-06 18:33 UTC by ivan
Modified: 2010-06-17 10:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivan 2010-04-06 18:33:19 UTC
Egor Ushakov wrote:
> Ivan,
> 
> if possible try to use less sleep calls in tests, we now try to reduce 
> test time.
>
Comment 1 ivan 2010-04-10 00:23:01 UTC
    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.
Comment 2 Quality Engineering 2010-04-11 04:21:15 UTC
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)