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

Bug 357610

Summary: Decoration of Test Suite nodes is sometimes wrong
Product: [Technology] Jubula Reporter: Alexandra Schladebeck <alexandra.schladebeck>
Component: UIAssignee: Project Inbox <jubula.ui-inbox>
Status: CLOSED FIXED QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: critical    
Priority: P3 CC: markus.tiede
Version: unspecified   
Target Milestone: Juno M5   
Hardware: All   
OS: All   
Whiteboard:

Description Alexandra Schladebeck CLA 2011-09-14 05:55:10 EDT
There seems to be a racing condition in the decoration of Test Suite nodes if the node is visible in more than one place (i.e. the Editor is still open). 

If the Test Suite Browser is updated first, then the decoration (e.g. test data incomplete) is correctly done. If the Editor is updated first, then the Test Suite will not be marked as incomplete (although the individual Test Cases in it will be). 

The workaround is to close the editor and trigger a save in the project (save an editor, add a Test Suite, refresh).

The problem can be seen by doing the following:
1. Create a new Test Suite
2. Add a Test Case that will not lead to it being incomplete and save
3. Add a Test Case that will make the Test Suite incomplete and save
-> The Test Suite node in the Test Suite Browser is not shown with a red cross. Closing the Editor or closing the Editor then saving will result in the correct decoration.
Comment 1 Markus Tiede CLA 2012-01-06 08:02:57 EST
This issue should be fixed with the recent major completeness, tooltip, decoration, problems propagation refactoring.
Comment 2 Oliver Goetz CLA 2012-01-19 11:00:18 EST
I was not able to reproduce this behavior using a new project and using the completeness check project. Closing this ticket.