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 254393

Summary: [81cat] Interrupt thread test fails.
Product: qa Reporter: -Silver-
Component: Test SpecificationsAssignee: issues@qa <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:

Description -Silver- 2015-08-15 18:09:54 UTC
Test case:

http://services.netbeans.org/synergy/client/app/#/assignment/1478/v/1
Interrupt thread
and
Interrupt thread - Resume  

Following the steps the expected result is:
Program will be running but both threads will have state On Monitor. Synchronization probably didn't occur. Therefore no action will be visible.

Actual result:
The threads are always in running status, never in on monitor. 

1. When the debugger starts the thread are not suspended.
2. When the debugger reach the breakpoint the treads Main, Thread-0 and Thread-1 are suspended. (checkboxes suspended checked in thread view)
3. When the user select "Resume" only the Main's suspended checkbox is unchecked, Thread-0 and Thread-1 are still suspended.
Comment 1 Martin Entlicher 2015-08-18 11:51:09 UTC
It looks like this spec refers originally to the "Threads" view. That view has a "State" column, which is continually updated. Debugging view does not show the threads state, it only indicates running/suspended status.
When you open Threads view, you'll see the "On Monitor" status there.