Skip to content

Commit

Permalink
Update exception serialization tests
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Feb 14, 2024
1 parent eae9511 commit fcacb01
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
import org.opensearch.action.OriginalIndices;
import org.opensearch.action.RoutingMissingException;
import org.opensearch.action.TimestampParsingException;
import org.opensearch.action.admin.indices.view.ViewAlreadyExistsException;
import org.opensearch.action.admin.indices.view.ViewNotFoundException;
import org.opensearch.action.search.SearchPhaseExecutionException;
import org.opensearch.action.search.ShardSearchFailure;
import org.opensearch.action.support.replication.ReplicationOperation;
Expand Down Expand Up @@ -892,6 +894,8 @@ public void testIds() {
ids.put(169, NodeWeighedAwayException.class);
ids.put(170, SearchPipelineProcessingException.class);
ids.put(171, CryptoRegistryException.class);
ids.put(172, ViewNotFoundException.class);
ids.put(173, ViewAlreadyExistsException.class);
ids.put(10001, IndexCreateBlockException.class);

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

0 comments on commit fcacb01

Please sign in to comment.