Repository: tomee Updated Branches: refs/heads/master 60b6b612a -> 99816340f
missing expected and typo Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/99816340 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/99816340 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/99816340 Branch: refs/heads/master Commit: 99816340f69a1b8aca774ec947e24790d2fd143d Parents: 60b6b61 Author: rmannibucau <[email protected]> Authored: Thu Nov 17 21:52:34 2016 +0100 Committer: rmannibucau <[email protected]> Committed: Thu Nov 17 21:52:34 2016 +0100 ---------------------------------------------------------------------- .../test/java/org/apache/openejb/util/SimpleJSonParserTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tomee/blob/99816340/container/openejb-core/src/test/java/org/apache/openejb/util/SimpleJSonParserTest.java ---------------------------------------------------------------------- diff --git a/container/openejb-core/src/test/java/org/apache/openejb/util/SimpleJSonParserTest.java b/container/openejb-core/src/test/java/org/apache/openejb/util/SimpleJSonParserTest.java index dddaa91..d8b4f83 100644 --- a/container/openejb-core/src/test/java/org/apache/openejb/util/SimpleJSonParserTest.java +++ b/container/openejb-core/src/test/java/org/apache/openejb/util/SimpleJSonParserTest.java @@ -25,7 +25,7 @@ import java.nio.charset.StandardCharsets; import static org.junit.Assert.assertNotNull; public class SimpleJSonParserTest { - @Test + @Test(expected = IllegalArgumentException.class/*not stackoverflow*/) public void avoidInfiniteLoop_TOMEE1970() throws IOException { // was throwing java.lang.OutOfMemoryError: Java heap space assertNotNull(SimpleJSonParser.read(new ByteArrayInputStream(("{\n" + " \"resources\":{\n" + @@ -33,7 +33,7 @@ public class SimpleJSonParserTest { " \"type\":\"DataSource\",\n" + " \"classpath\":\"whatever\",\n" + " \"properties\":{\n" + - " \"a\":\"b\n" + // no closing quote is the TOMEE61970 issue + " \"a\":\"b\n" + // no closing quote is the TOMEE-1970 issue " }\n" + " }\n" + " }\n" +
