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