You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Michael Blow (JIRA)" <ji...@apache.org> on 2017/03/14 18:09:41 UTC
[jira] [Created] (ASTERIXDB-1840) ParserTestExecutor disregards
which exception is thrown
Michael Blow created ASTERIXDB-1840:
---------------------------------------
Summary: ParserTestExecutor disregards which exception is thrown
Key: ASTERIXDB-1840
URL: https://issues.apache.org/jira/browse/ASTERIXDB-1840
Project: Apache AsterixDB
Issue Type: Bug
Components: Test Framework
Reporter: Michael Blow
In case of an expected exception, ParserTestExecutor does not validate that the correct exception is thrown.
e.g.
09:53:05 testFile src/test/resources/runtimets/queries_sqlpp/load/issue14_query/issue14_query.1.ddl.sqlpp raised an exception:
09:53:05 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
09:53:05 at java.util.ArrayList.rangeCheck(ArrayList.java:653)
09:53:05 at java.util.ArrayList.get(ArrayList.java:429)
09:53:05 at org.apache.asterix.test.sqlpp.ParserTestExecutor.executeTest(ParserTestExecutor.java:85)
09:53:05 at org.apache.asterix.test.common.TestExecutor.executeTest(TestExecutor.java:743)
09:53:05 at org.apache.asterix.test.sqlpp.RuntimeParserTest.test(RuntimeParserTest.java:91)
...
09:53:05 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
09:53:05 ...but that was expected.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)