mirror of https://github.com/apache/lucene.git
LUCENE-8176: await HttpReplicatorTest completion for a minute.
This commit is contained in:
parent
fa55f0c2f2
commit
779821fe10
|
@ -233,6 +233,9 @@ Build
|
|||
* LUCENE-8168: Moved Groovy scripts in build files to separate files.
|
||||
Update Groovy to 2.4.13. (Uwe Schindler)
|
||||
|
||||
* LUCENE-8176: HttpReplicatorTest awaits more than a minute for stopping Jetty threads
|
||||
(Mikhail Khludnev)
|
||||
|
||||
======================= Lucene 7.2.1 =======================
|
||||
|
||||
Bug Fixes
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
*/
|
||||
package org.apache.lucene.replicator;
|
||||
|
||||
import com.carrotsearch.randomizedtesting.annotations.ThreadLeakLingering;
|
||||
import java.util.Random;
|
||||
import org.apache.http.conn.HttpClientConnectionManager;
|
||||
import org.apache.http.impl.conn.PoolingHttpClientConnectionManager;
|
||||
|
@ -33,6 +34,7 @@ import org.eclipse.jetty.util.ssl.SslContextFactory;
|
|||
import org.eclipse.jetty.util.thread.QueuedThreadPool;
|
||||
import org.junit.AfterClass;
|
||||
|
||||
@ThreadLeakLingering(linger = 80000) // Jetty might ignore interrupt for a minute
|
||||
public abstract class ReplicatorTestCase extends LuceneTestCase {
|
||||
|
||||
private static HttpClientConnectionManager clientConnectionManager;
|
||||
|
|
Loading…
Reference in New Issue