Skip to content

ConcurrentModificationException when running perf test on throttle #197

@petruki

Description

@petruki

Describe the bug
When running perf test with throttle configured, cached execution history is being updated and read from different threads, which causes ConcurrentModificationException.

To Reproduce
Run perf test using short throttle values. That will cause the client to read and update from different threads.

Expected behavior
Access to history should be synchronized to avoid concurrency errors.

Desktop (please complete the following information):

  • OS: Windows 10
  • Java version: OpenJDK11
  • Maven version: 3.8.5

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions