You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/08/17 03:09:12 UTC
[lucene-solr] branch reference_impl_dev updated: @562 See the line
where the sky meets the sea? It calls me And no one knows, how far it goes
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl_dev by this push:
new 18f72e5 @562 See the line where the sky meets the sea? It calls me And no one knows, how far it goes
18f72e5 is described below
commit 18f72e5290c24630249e605c519734a29a9ca016
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sun Aug 16 22:08:59 2020 -0500
@562 See the line where the sky meets the sea? It calls me
And no one knows, how far it goes
---
solr/test-framework/src/java/org/apache/solr/SolrTestCase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java b/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java
index a427e50..2a4ae0f 100644
--- a/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java
+++ b/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java
@@ -604,7 +604,7 @@ public class SolrTestCase extends LuceneTestCase {
private static void interrupt(Thread thread, String nameContains) {
if ((nameContains != null && thread.getName().contains(nameContains)) || (interuptThreadWithNameContains != null && thread.getName().contains(interuptThreadWithNameContains)) ) {
- if (thread.getState() == Thread.State.TERMINATED) {
+ if (thread.getState() == Thread.State.TERMINATED || thread.getState() == Thread.State.WAITING) {
System.out.println("interrupt on " + thread.getName());
thread.interrupt();
try {