Skip to content

Commit fdc061e

Browse files
committed
Update airlift to 375
1 parent 7f380c0 commit fdc061e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

plugin/trino-iceberg/src/test/java/org/apache/iceberg/rest/DelegatingRestSessionCatalog.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
import io.airlift.http.server.HttpServerConfig;
1717
import io.airlift.http.server.HttpServerInfo;
18+
import io.airlift.http.server.ServerFeature;
1819
import io.airlift.http.server.testing.TestingHttpServer;
1920
import io.airlift.node.NodeInfo;
2021
import org.apache.iceberg.catalog.Catalog;
@@ -66,7 +67,10 @@ public TestingHttpServer testServer()
6667
HttpServerInfo httpServerInfo = new HttpServerInfo(config, nodeInfo);
6768
RestCatalogServlet servlet = new RestCatalogServlet(adapter);
6869

69-
return new TestingHttpServer(httpServerInfo, nodeInfo, config, servlet, false, true, false);
70+
return new TestingHttpServer(httpServerInfo, nodeInfo, config, servlet, ServerFeature.builder()
71+
// Required due to URIs like: HEAD /v1/namespaces/level_1%1Flevel_2
72+
.withLegacyUriCompliance(true)
73+
.build());
7074
}
7175

7276
public static Builder builder()

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
<air.test.jvm.additional-arguments>${air.test.jvm.additional-arguments.default}</air.test.jvm.additional-arguments>
183183

184184
<!-- keep dependency properties sorted -->
185-
<dep.airlift.version>374</dep.airlift.version>
185+
<dep.airlift.version>375</dep.airlift.version>
186186
<dep.alluxio.version>2.9.6</dep.alluxio.version>
187187
<dep.antlr.version>4.13.2</dep.antlr.version>
188188
<dep.avro.version>1.12.1</dep.avro.version>

0 commit comments

Comments
 (0)