diff --git a/spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/DelegatingWebConnectionTests.java b/spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/DelegatingWebConnectionTests.java index 3c045e14b50..1bd94d5c45d 100644 --- a/spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/DelegatingWebConnectionTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/DelegatingWebConnectionTests.java @@ -30,6 +30,8 @@ import org.springframework.stereotype.Controller; import org.springframework.test.web.servlet.MockMvc; import org.springframework.test.web.servlet.htmlunit.DelegatingWebConnection.DelegateWebConnection; import org.springframework.test.web.servlet.setup.MockMvcBuilders; +import org.springframework.tests.Assume; +import org.springframework.tests.TestGroup; import com.gargoylesoftware.htmlunit.HttpWebConnection; import com.gargoylesoftware.htmlunit.Page; @@ -122,6 +124,8 @@ public class DelegatingWebConnectionTests { @Test public void verifyExampleInClassLevelJavadoc() throws Exception { + Assume.group(TestGroup.PERFORMANCE); + WebClient webClient = new WebClient(); MockMvc mockMvc = MockMvcBuilders.standaloneSetup(TestController.class).build(); diff --git a/spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/MockMvcWebClientBuilderTests.java b/spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/MockMvcWebClientBuilderTests.java index 27db6941b59..5cf16c67591 100644 --- a/spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/MockMvcWebClientBuilderTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/MockMvcWebClientBuilderTests.java @@ -31,6 +31,8 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.web.WebAppConfiguration; import org.springframework.test.web.servlet.MockMvc; import org.springframework.test.web.servlet.setup.MockMvcBuilders; +import org.springframework.tests.Assume; +import org.springframework.tests.TestGroup; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.context.WebApplicationContext; @@ -80,6 +82,8 @@ public class MockMvcWebClientBuilderTests { @Test public void mockMvcSetupAndConfigureWebClient() throws Exception { + Assume.group(TestGroup.PERFORMANCE); + this.webClient = MockMvcWebClientBuilder .mockMvcSetup(this.mockMvc) .configureWebClient(this.webClient); @@ -90,6 +94,8 @@ public class MockMvcWebClientBuilderTests { @Test public void mockMvcSetupAndCreateWebClient() throws Exception { + Assume.group(TestGroup.PERFORMANCE); + this.webClient = MockMvcWebClientBuilder .mockMvcSetup(this.mockMvc) .createWebClient(); diff --git a/spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/webdriver/MockMvcHtmlUnitDriverBuilderTests.java b/spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/webdriver/MockMvcHtmlUnitDriverBuilderTests.java index a64fc677081..f1ad918744f 100644 --- a/spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/webdriver/MockMvcHtmlUnitDriverBuilderTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/webdriver/MockMvcHtmlUnitDriverBuilderTests.java @@ -33,6 +33,8 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.web.WebAppConfiguration; import org.springframework.test.web.servlet.MockMvc; import org.springframework.test.web.servlet.setup.MockMvcBuilders; +import org.springframework.tests.Assume; +import org.springframework.tests.TestGroup; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.context.WebApplicationContext; @@ -79,6 +81,8 @@ public class MockMvcHtmlUnitDriverBuilderTests { @Test public void mockMvcSetupAndConfigureDriver() throws Exception { + Assume.group(TestGroup.PERFORMANCE); + this.driver = MockMvcHtmlUnitDriverBuilder .mockMvcSetup(this.mockMvc) .configureDriver(new WebConnectionHtmlUnitDriver()); @@ -89,6 +93,8 @@ public class MockMvcHtmlUnitDriverBuilderTests { @Test public void mockMvcSetupAndCreateDriver() throws Exception { + Assume.group(TestGroup.PERFORMANCE); + this.driver = MockMvcHtmlUnitDriverBuilder .mockMvcSetup(this.mockMvc) .createDriver();