Skip to content

Commit 39c88aa

Browse files
committed
Fix test
1 parent 512683e commit 39c88aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
import org.elasticsearch.search.aggregations.AggregationExecutionException;
8787
import org.elasticsearch.search.aggregations.MultiBucketConsumerService;
8888
import org.elasticsearch.search.aggregations.UnsupportedAggregationOnDownsampledIndex;
89+
import org.elasticsearch.search.crossproject.NoMatchingProjectException;
8990
import org.elasticsearch.search.internal.ShardSearchContextId;
9091
import org.elasticsearch.search.query.SearchTimeoutException;
9192
import org.elasticsearch.snapshots.Snapshot;
@@ -846,6 +847,7 @@ public void testIds() {
846847
ids.put(182, IngestPipelineException.class);
847848
ids.put(183, IndexDocFailureStoreStatus.ExceptionWithFailureStoreStatus.class);
848849
ids.put(184, RemoteException.class);
850+
ids.put(185, NoMatchingProjectException.class);
849851

850852
Map<Class<? extends ElasticsearchException>, Integer> reverse = new HashMap<>();
851853
for (Map.Entry<Integer, Class<? extends ElasticsearchException>> entry : ids.entrySet()) {

0 commit comments

Comments
 (0)