This is an automated email from the ASF dual-hosted git repository. bonampak pushed a commit to branch feature/jakarta-jetty-upgrade in repository https://gitbox.apache.org/repos/asf/knox.git
commit e3154f6026f954dc274508b03ac4370d100bc11e Author: bonampak <[email protected]> AuthorDate: Tue Apr 28 20:49:41 2026 +0200 KNOX-3238: Fix SimpleDescriptorHandlerFuncTest.testSimpleDescriptorHandlerQueryStringCredentialAliasCreation. --- .../java/org/apache/knox/gateway/SimpleDescriptorHandlerFuncTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gateway-test/src/test/java/org/apache/knox/gateway/SimpleDescriptorHandlerFuncTest.java b/gateway-test/src/test/java/org/apache/knox/gateway/SimpleDescriptorHandlerFuncTest.java index ca5a60502..1bc42238a 100644 --- a/gateway-test/src/test/java/org/apache/knox/gateway/SimpleDescriptorHandlerFuncTest.java +++ b/gateway-test/src/test/java/org/apache/knox/gateway/SimpleDescriptorHandlerFuncTest.java @@ -169,9 +169,11 @@ public class SimpleDescriptorHandlerFuncTest { EasyMock.replay(testDescriptor); // Try setting up enough of the GatewayServer to support the test... - GatewayConfig config = EasyMock.createNiceMock(GatewayConfig.class); + List<InetSocketAddress> gatewayAddress = new ArrayList<>(); gatewayAddress.add(new InetSocketAddress(0)); + GatewayConfig config = EasyMock.createNiceMock(GatewayConfig.class); + EasyMock.expect(config.getHttpServerResponseHeaderBuffer()).andReturn(8*1024*1024).anyTimes(); EasyMock.expect(config.getReadOnlyOverrideTopologyNames()).andReturn(Collections.emptyList()).anyTimes(); EasyMock.expect(config.getGatewayConfDir()).andReturn(testConfDir.getAbsolutePath()).anyTimes(); EasyMock.expect(config.getGatewayDataDir()).andReturn(testDataDir.getAbsolutePath()).anyTimes();
