[teiid-issues] [JBoss JIRA] Resolved: (TEIID-914) OnWrapTransactionTests.testMultipleSourceTimeout test fails due to due to execpted error message is different
Van Halbert (JIRA)
jira-events at lists.jboss.org
Thu Jan 7 10:18:31 EST 2010
[ https://jira.jboss.org/jira/browse/TEIID-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Van Halbert resolved TEIID-914.
-------------------------------
Resolution: Done
Changed the logic to obtain the CauseException form the SQLException and that provided the answer that the expected results was looking for.
> OnWrapTransactionTests.testMultipleSourceTimeout test fails due to due to execpted error message is different
> -------------------------------------------------------------------------------------------------------------
>
> Key: TEIID-914
> URL: https://jira.jboss.org/jira/browse/TEIID-914
> Project: Teiid
> Issue Type: Bug
> Components: Integration Tests
> Affects Versions: 7.0
> Reporter: Van Halbert
> Assignee: Steven Hawkins
> Priority: Minor
>
> The OnWrapTransactionTests.testMultipleSourceTimeout test fails due to expected message is different. It appears the upstream error being thrown by sendRequestMessageAndWait(..) in MMStatement.executeSql(String[] commands, boolean isBatchedCommand, Boolean requiresResultSet) has changed. If I take the message from the caught exception and prepend to the created message and use that message in the MMSQLException throw, then the test passes.
> Also, another problem with the current error message is that it gives no indication as to the problem why the statement cannot run, it only provides a general message, ilke the following:
> "Error trying to execute a statement [insert into pm1.g1 (e1, e2) values(600,'600'), insert into pm1.g2 (e1, e2) values (600,'600') .........."
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list