mirror of https://github.com/apache/druid.git
Integration tests: print expected results in json format
This commit is contained in:
parent
083f019a48
commit
72ab621c2a
|
@ -96,8 +96,9 @@ public class TestQueryHelper
|
|||
List<Map<String, Object>> result = queryClient.query(url, queryWithResult.getQuery());
|
||||
if (!QueryResultVerifier.compareResults(result, queryWithResult.getExpectedResults())) {
|
||||
LOG.error(
|
||||
"Failed while executing %s actualResults : %s",
|
||||
queryWithResult,
|
||||
"Failed while executing query %s \n expectedResults: %s \n actualResults : %s",
|
||||
queryWithResult.getQuery(),
|
||||
jsonMapper.writeValueAsString(queryWithResult.getExpectedResults()),
|
||||
jsonMapper.writeValueAsString(result)
|
||||
);
|
||||
failed = true;
|
||||
|
|
Loading…
Reference in New Issue