Skip to content

Commit 408aca4

Browse files
committed
fixup! Rename exception for illegal shard failures
1 parent 354ea68 commit 408aca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/java/org/elasticsearch/ExceptionSerializationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ public void testWithRestHeadersException() throws IOException {
594594
assertSame(status, e.status());
595595
}
596596

597-
public void testIllegalShardFailureExceptions() throws IOException {
597+
public void testNoLongerPrimaryShardException() throws IOException {
598598
ShardId shardId = new ShardId(new Index(randomAsciiOfLength(4), randomAsciiOfLength(4)), randomIntBetween(0, Integer.MAX_VALUE));
599599
String msg = randomAsciiOfLength(4);
600600
ShardStateAction.NoLongerPrimaryShardException ex = serialize(new ShardStateAction.NoLongerPrimaryShardException(shardId, msg));

0 commit comments

Comments
 (0)