Skip to content

[CI] SetPriorityActionTests has invalid test for testNonPositivePriority #37652

@markharwood

Description

@markharwood

Zero is a valid value according to the class under test but testNonPositivePriority is expecting an exception.

Build failure: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+g1gc/290/console

Reproduce with:

./gradlew :x-pack:plugin:core:unitTest -Dtests.seed=9FD1CC17D355FD0D -Dtests.class=org.elasticsearch.xpack.core.indexlifecycle.SetPriorityActionTests -Dtests.method="testNonPositivePriority" -Dtests.security.manager=true -Dtests.jvm.argline="-XX:-UseConcMarkSweepGC -XX:+UseG1GC" -Dtests.locale=es-DO -Dtests.timezone=Asia/Katmandu -Dcompiler.java=11 -Druntime.java=8

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions