From f886af7beed4bad355ba1f8d95d51d6ab1e1d53f Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Fri, 7 Jan 2011 20:56:42 +0000 Subject: [PATCH] out of memory test case git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3893 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../web/servlet/mvc/annotation/Spr7839Tests.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/Spr7839Tests.java b/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/Spr7839Tests.java index 2bfedd28710..8238137b675 100644 --- a/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/Spr7839Tests.java +++ b/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/mvc/annotation/Spr7839Tests.java @@ -68,6 +68,14 @@ public class Spr7839Tests { adapter.handle(request, response, controller); } + @Test + @Ignore + public void listElementAutogrowOutOfMemory() throws Exception { + request.setRequestURI("/nested/listElement"); + request.addParameter("nested.list[1000000000].foo", "Nested"); + adapter.handle(request, response, controller); + } + @Test public void listOfLists() throws Exception { request.setRequestURI("/nested/listOfLists"); @@ -90,7 +98,6 @@ public class Spr7839Tests { } @Test - @Ignore public void arrayOfLists() throws Exception { // TODO TypeDescriptor not capable of accessing nested element type for arrays request.setRequestURI("/nested/arrayOfLists");