From 7bf4e93783679573f5a30a7b15fbbf2533dbeed8 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 --- .../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");