[JBoss JIRA] Created: (TEIID-914) OnWrapTransactionTests.testMultipleSourceTimeout test fails due to due to execpted error message is different
by Van Halbert (JIRA)
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
14 years, 5 months