Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-914

OnWrapTransactionTests.testMultipleSourceTimeout test fails due to due to execpted error message is different

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 7.0
    • Integration Tests
    • None

      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') .........."

              rhn-engineering-shawkins Steven Hawkins
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: