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.
Summary: | EnabledModulesCollectorTest.testSetOfEnabledModulesIsListed() randomly fails | ||
---|---|---|---|
Product: | ide | Reporter: | Martin Entlicher <mentlicher> |
Component: | Logger | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | TEST, THREAD |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Martin Entlicher
2012-04-05 12:42:39 UTC
Apparently, to wait 1s in lastRecord.waitFinished(1000); is not enough. The waitFinished(1000) is called two times in the test - once from installer.closing() and once from Installer.getLogs(). Thus even 2s wait time is not enough. There is really an extremely slow threads execution on the testing machine. Why is there the timeout at all? It does not wait till flushed with the timeout, thus breaking the contract. The timeout is changed to indefinite in changeset: 217960:3febf5809ae5 http://hg.netbeans.org/main/rev/3febf5809ae5 Integrated into 'main-golden', will be available in build *201204060400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/fae67f889514 User: mentlicher@netbeans.org Log: testSetOfEnabledModulesIsListed() marked as @RandomlyFails until issue #210773 is fixed. |