Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367422

Summary: Canceling the TestExecutionJob can cause the client to freeze
Product: [Technology] Jubula Reporter: Marc Steffens <Marc.Steffens>
Component: CoreAssignee: Markus Tiede <markus.tiede>
Status: CLOSED FIXED QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: major    
Priority: P3 CC: markus.tiede
Version: unspecified   
Target Milestone: Juno M5   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Prevents Jubula client from freezing while canceling the TestExecutionJob markus.tiede: iplog+

Description Marc Steffens CLA 2011-12-22 09:35:59 EST
Created attachment 208733 [details]
Prevents Jubula client from freezing while canceling the TestExecutionJob

The current job handling of the TestExecutionJob in ClientTest can cause the client to freeze, if the CollectionMonitoringDataJob is running and the TestExecutionJob is canceled by the user. 

The CollectionMonitoringDataJob runs within the TestExecutionJob. The current implementation will cancel the TestExecutionJob, while the inner job is still running. This causes the client to freeze.

The attached patch will fix this problem. The user can still cancel the TestExecutionJob, but the client will wait for the CollectionMonitoringDataJob to finish. If the user is also canceling the CollectionMonitoringDataJob, then both jobs will be canceled and stopped correctly.
Comment 1 Marc Steffens CLA 2012-01-04 06:46:31 EST
the corresponding GUIdancer bugzilla entry can be found under: https://bxapps.bredex.de/bugzilla/show_bug.cgi?id=68
Comment 2 Markus Tiede CLA 2012-01-09 07:41:27 EST
The fix has been applied with changeset

http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=16339a01b19424b22c64d3d4b91ab4c9e8373d80
Comment 3 Oliver Goetz CLA 2012-01-12 10:52:33 EST
Fix verified manually.