Skip to content

fix: use default value for LoopController.continue_forever rather than initializing it in the constructor #6011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 28, 2023

Conversation

vlsi
Copy link
Collaborator

@vlsi vlsi commented Jun 27, 2023

Previously LoopController initialized continue_forever=true in the constructor, however, and ThreadGroup.setMainController flipped the value to false.

It caused inconsistency since non-GUI launch does not call ThreadGroup.setMainController.

Using default=true enables to treat "false" as non-standard, so =false is saved t the jmx, and it gets loaded in non-GUI as well.

Fixes #6008

@vlsi vlsi added this to the 5.6.1 milestone Jun 27, 2023
@vlsi vlsi changed the title fix: default value for LoopController.continue_forever rather than initializing in the constructor fix: use default value for LoopController.continue_forever rather than initializing in the constructor Jun 27, 2023
@vlsi vlsi changed the title fix: use default value for LoopController.continue_forever rather than initializing in the constructor fix: use default value for LoopController.continue_forever rather than initializing it in the constructor Jun 27, 2023
…itializing in the constructor

Previously LoopController initialized continue_forever=true in the constructor,
however, and ThreadGroup.setMainController flipped the value to false.

It caused inconsistency since non-GUI launch does not call ThreadGroup.setMainController.

Using default=true enables to treat "false" as non-standard, so =false is saved
t the jmx, and it gets loaded in non-GUI as well.

Fixes apache#6008
…load roundtrip

ProxyControl initialized collection properties with HashSet which caused
CollectionProperty.equals to return false.
CollectionProperty is normalized to ArrayList on save, so we should not pass
HashSet to the CollectionProperty in the first place.
@vlsi vlsi merged commit 1e45414 into apache:master Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JMeter 5.6 - ThreadGroups are running endlessly in non-gui mode
1 participant