parent
3a2b616579
commit
468bae29f7
|
@ -38,6 +38,7 @@ public class SetPriorityActionTests extends AbstractActionTestCase<SetPriorityAc
|
||||||
return SetPriorityAction::new;
|
return SetPriorityAction::new;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@AwaitsFix(bugUrl="https://github.com/elastic/elasticsearch/issues/37652")
|
||||||
public void testNonPositivePriority() {
|
public void testNonPositivePriority() {
|
||||||
Exception e = expectThrows(Exception.class, () -> new SetPriorityAction(randomIntBetween(-100, 0)));
|
Exception e = expectThrows(Exception.class, () -> new SetPriorityAction(randomIntBetween(-100, 0)));
|
||||||
assertThat(e.getMessage(), equalTo("[priority] must be 0 or greater"));
|
assertThat(e.getMessage(), equalTo("[priority] must be 0 or greater"));
|
||||||
|
|
Loading…
Reference in New Issue