commit | 51c145c44f2e4f6e503a94b92376f2a6f10dfd83 | [log] [tgz] |
---|---|---|
author | Michael Blow <mblow@apache.org> | Wed Feb 07 21:36:21 2018 -0500 |
committer | Michael Blow <mblow@apache.org> | Wed Feb 07 21:41:21 2018 -0800 |
tree | df828d13fb89e045be77adf6b48ecb4e761b1b04 | |
parent | 7d0d7b9189a283276b0d54df25523944ef19dd55 [diff] |
[NO ISSUE][TEST] Reduce INFO verbosity on poll exception Change-Id: Id47101eeb96677ea94651c125f698a5dfffe3854 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2370 Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: Murtadha Hubail <mhubail@apache.org> Tested-by: Michael Blow <mblow@apache.org>
diff --git a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/common/TestExecutor.java b/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/common/TestExecutor.java index eeea05a..bae1a21 100644 --- a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/common/TestExecutor.java +++ b/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/common/TestExecutor.java
@@ -1308,9 +1308,11 @@ e = ee; } if (e instanceof ComparisonException) { - LOGGER.log(Level.INFO, "Comparison failure on poll: " + e.getMessage()); + LOGGER.info("Comparison failure on poll: {}", e::getMessage); + } else if (LOGGER.isDebugEnabled()) { + LOGGER.debug("Received exception on poll", e); } else { - LOGGER.log(Level.INFO, "received exception on poll", e); + LOGGER.info("Received exception on poll: {}", e::toString); } responsesReceived++; if (isExpected(e, cUnit)) {