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 - [81cat] Interrupt thread test fails.
Summary: [81cat] Interrupt thread test fails.
Status: NEW
Alias: None
Product: qa
Classification: Unclassified
Component: Test Specifications (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-15 18:09 UTC by -Silver-
Modified: 2015-08-18 11:51 UTC (History)
0 users

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 -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.