From 38c21f58b85237c776e3195d11004c213aa4cfa5 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Wed, 29 May 2019 19:09:59 +0200 Subject: [PATCH] Add missing @Test annotation See gh-17012 --- .../web/embedded/UndertowWebServerFactoryCustomizerTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizerTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizerTests.java index 0f58eea837..b53613e3bd 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizerTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizerTests.java @@ -100,6 +100,7 @@ public class UndertowWebServerFactoryCustomizerTests { assertThat(boundServerOption(UndertowOptions.MAX_HEADER_SIZE)).isNull(); } + @Test public void customMaxHttpHeaderSizeIgnoredIfZero() { bind("server.max-http-header-size=0"); assertThat(boundServerOption(UndertowOptions.MAX_HEADER_SIZE)).isNull();