SQL: [TESTS] Improve error messages on failures (#47308)
When an integration test fails before the assertion of the results it's missing information, like the file name and the line in the file where the test resides. (cherry picked from commit 683dc7213311d13c81e06829e08f3f9f80ebf73a)
This commit is contained in:
parent
890951113f
commit
bd2abeef40
|
@ -90,8 +90,8 @@ public abstract class SpecBaseIntegrationTestCase extends JdbcIntegrationTestCas
|
|||
try {
|
||||
assumeFalse("Test marked as Ignored", testName.endsWith("-Ignore"));
|
||||
doTest();
|
||||
} catch (AssertionError ae) {
|
||||
throw reworkException(ae);
|
||||
} catch (Exception e) {
|
||||
throw reworkException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue