From 684c2e6afea0229400eb929ff6a774e6a05fa9e8 Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Tue, 9 Jun 2020 09:37:51 +0200 Subject: [PATCH] SOLR-14470: Fix precommit --- .../solr/client/solrj/io/stream/CloudAuthStreamTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/CloudAuthStreamTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/CloudAuthStreamTest.java index e5426fd970f..a139a340f05 100644 --- a/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/CloudAuthStreamTest.java +++ b/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/CloudAuthStreamTest.java @@ -808,7 +808,9 @@ public class CloudAuthStreamTest extends SolrCloudTestCase { log.trace("TupleStream: {}", tupleStream); tupleStream.open(); for (Tuple t = tupleStream.read(); !t.EOF; t = tupleStream.read()) { - log.trace("Tuple: {}", t.getFields()); + if (log.isTraceEnabled()) { + log.trace("Tuple: {}", t.getFields()); + } tuples.add(t); } } finally {