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 82373 - Hanging junit tests
Summary: Hanging junit tests
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2006-08-10 12:09 UTC by ehucka
Modified: 2006-10-23 16:40 UTC (History)
1 user (show)

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 ehucka 2006-08-10 12:09:31 UTC
I started some junit tests in ide. It opened junit output window and showed Test
suite is running ..., nothing more. Tests had finished (in output window) but
progress dialog in status bar and in Process window were showing 'Running JUnit
tests ... 100%'. After I started another tests the Process window displayed two
lines 'Running JUnit tests ... 100%'.
Comment 1 Milos Kleint 2006-08-10 12:27:02 UTC
please include your OS and JDK information.

it works for me on macosx + 1.5 in the current trunk

reassigning to junit for evaulation, please make sure you call finish() in a
finally block.
Comment 2 Marian Petras 2006-08-10 15:11:11 UTC
I have never seen this behaviour. Anyway, I will put progressHandle.finish() to
the finally block.
Comment 3 Marian Petras 2006-08-15 11:19:12 UTC
Fixed in the trunk.

Modified file:
   junit/src/org/netbeans/modules/junit/output/JUnitOutputReader.java   (1.27)

Diff:
http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/output/JUnitOutputReader.java?r1=1.26&r2=1.27&diff_format=u
Comment 4 ehucka 2006-09-11 16:04:48 UTC
verified