Skip to content

Commit fcacb01

Browse files
committed
Update exception serialization tests
Signed-off-by: Peter Nied <peternied@hotmail.com>
1 parent eae9511 commit fcacb01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server/src/test/java/org/opensearch/ExceptionSerializationTests.java

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
import org.opensearch.action.OriginalIndices;
4141
import org.opensearch.action.RoutingMissingException;
4242
import org.opensearch.action.TimestampParsingException;
43+
import org.opensearch.action.admin.indices.view.ViewAlreadyExistsException;
44+
import org.opensearch.action.admin.indices.view.ViewNotFoundException;
4345
import org.opensearch.action.search.SearchPhaseExecutionException;
4446
import org.opensearch.action.search.ShardSearchFailure;
4547
import org.opensearch.action.support.replication.ReplicationOperation;
@@ -892,6 +894,8 @@ public void testIds() {
892894
ids.put(169, NodeWeighedAwayException.class);
893895
ids.put(170, SearchPipelineProcessingException.class);
894896
ids.put(171, CryptoRegistryException.class);
897+
ids.put(172, ViewNotFoundException.class);
898+
ids.put(173, ViewAlreadyExistsException.class);
895899
ids.put(10001, IndexCreateBlockException.class);
896900

897901
Map<Class<? extends OpenSearchException>, Integer> reverse = new HashMap<>();

0 commit comments

Comments
 (0)