risdenk commented on code in PR #1128:
URL: https://github.com/apache/solr/pull/1128#discussion_r1005955076
##########
solr/core/src/test/org/apache/solr/cloud/TestTlogReplica.java:
##########
@@ -679,7 +679,7 @@ public void testRecovery() throws Exception {
waitingForReplay.release();
waitingForBufferUpdates.acquire();
} catch (InterruptedException e) {
- e.printStackTrace();
Review Comment:
Fixed in b5ccf7820968b3c24ad25e2ea56114b1d151ef1d
##########
solr/core/src/test/org/apache/solr/cloud/TrollingIndexReaderFactory.java:
##########
@@ -204,7 +203,7 @@ private static void recordStackTrace(StackTraceElement[]
stackTrace) {
try {
lastStacktraces.poll(100, TimeUnit.MILLISECONDS);
} catch (InterruptedException e1) {
- e1.printStackTrace();
+ Thread.currentThread().interrupt();
Review Comment:
Fixed in b5ccf7820968b3c24ad25e2ea56114b1d151ef1d
##########
solr/core/src/test/org/apache/solr/cloud/ZkShardTermsTest.java:
##########
@@ -223,7 +223,7 @@ public void testRaceConditionOnUpdates() throws
InterruptedException {
Thread.sleep(random().nextInt(200));
zkShardTerms.setTermEqualsToLeader(replica);
} catch (InterruptedException e) {
- e.printStackTrace();
+ Thread.currentThread().interrupt();
Review Comment:
Fixed in b5ccf7820968b3c24ad25e2ea56114b1d151ef1d
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]