Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import io.airlift.http.server.HttpServerConfig;
import io.airlift.http.server.HttpServerInfo;
import io.airlift.http.server.ServerFeature;
import io.airlift.http.server.testing.TestingHttpServer;
import io.airlift.node.NodeInfo;
import org.apache.iceberg.catalog.Catalog;
Expand Down Expand Up @@ -66,7 +67,10 @@ public TestingHttpServer testServer()
HttpServerInfo httpServerInfo = new HttpServerInfo(config, nodeInfo);
RestCatalogServlet servlet = new RestCatalogServlet(adapter);

return new TestingHttpServer(httpServerInfo, nodeInfo, config, servlet, false, true, false);
return new TestingHttpServer(httpServerInfo, nodeInfo, config, servlet, ServerFeature.builder()
// Required due to URIs like: HEAD /v1/namespaces/level_1%1Flevel_2
.withLegacyUriCompliance(true)
.build());
}

public static Builder builder()
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
<air.test.jvm.additional-arguments>${air.test.jvm.additional-arguments.default}</air.test.jvm.additional-arguments>

<!-- keep dependency properties sorted -->
<dep.airlift.version>374</dep.airlift.version>
<dep.airlift.version>375</dep.airlift.version>
<dep.alluxio.version>2.9.6</dep.alluxio.version>
<dep.antlr.version>4.13.2</dep.antlr.version>
<dep.avro.version>1.12.1</dep.avro.version>
Expand Down
Loading