Fix put mapping request validators random test
This commit fixes a test bug in the request validators random test. In particular, an assertion was not properly nested in a guard that would ensure that was at least one failure. Relates #43000
This commit is contained in:
parent
553c73b22d
commit
b580677412
|
@ -84,8 +84,8 @@ public class TransportPutMappingRequestValidatorsTests extends ESTestCase {
|
|||
assertNull(e);
|
||||
} else {
|
||||
assertNotNull(e);
|
||||
}
|
||||
assertThat(e.getSuppressed(), Matchers.arrayWithSize(numberOfFailures - 1));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue