Skip to content

[TEST] testAutoQueueSizingWithMin trips assertion #26332

@ywelsch

Description

@ywelsch

QueueResizingEsThreadPoolExecutorTests.testAutoQueueSizingWithMin trips an assertion. Reproduces for me when running the test often enough.

Failure:

java.lang.AssertionError: cannot calculate for instantaneous tasks, got: 0
	at __randomizedtesting.SeedInfo.seed([8435AB382A4D9B90]:0)
	at org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor.calculateLambda(QueueResizingEsThreadPoolExecutor.java:106)
	at org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor.afterExecute(QueueResizingEsThreadPoolExecutor.java:177)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1150)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Failing test run:

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.0+aggressive-opts/133/consoleFull

Metadata

Metadata

Assignees

Labels

>testIssues or PRs that are addressing/adding tests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions