diff --git a/integration-tests/src/main/java/io/druid/testing/utils/TestQueryHelper.java b/integration-tests/src/main/java/io/druid/testing/utils/TestQueryHelper.java index 774df84d320..b9551185a46 100644 --- a/integration-tests/src/main/java/io/druid/testing/utils/TestQueryHelper.java +++ b/integration-tests/src/main/java/io/druid/testing/utils/TestQueryHelper.java @@ -96,8 +96,9 @@ public class TestQueryHelper List> 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;