Bug 64954 - Critical Section Controller causes waiting threads not to stop
Summary: Critical Section Controller causes waiting threads not to stop
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.12
Hardware: All All
: P2 major (vote)
Target Milestone: JMETER_5.4
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-03 18:12 UTC by JWilson
Modified: 2020-12-19 09:10 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JWilson 2020-12-03 18:12:27 UTC
I've noticed that for some test runs, when the test ends or I attempt to stop the test, I receive the message "Thread won't exit". After some troubleshooting, I noticed this was occurring when I have a thread waiting to enter a critical section controller.
Comment 1 Felix Schumacher 2020-12-19 09:10:40 UTC
Currently only samplers will get notified to stop. The controllers where considered to be short running things and left out originally.

Patches are welcome, as usual :) (But should probably be discussed on the dev mailing list before digging to deep into this)

I wondered, whether elements, that are potentially blocking, should be able to register themselves at the running JMeterThread/Engine to be notified when a stop is ordered.
Comment 2 The ASF infrastructure team 2022-09-24 20:38:21 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5441