SOLR-13886: HDFSSyncSliceTest and SyncSliceTest started failing frequently

Signed-off-by: Kevin Risden <krisden@apache.org>
This commit is contained in:
Kevin Risden 2020-04-18 13:45:54 -04:00
parent f01c040ab3
commit 89e14faca9
No known key found for this signature in database
GPG Key ID: 040FAE3292C5F73F
3 changed files with 3 additions and 2 deletions

View File

@ -167,6 +167,8 @@ Other Changes
* SOLR-14391: Removed internal-ish ScoreFilter marker interface; only used by {!collapse}. Removed needless code in
SolrIndexSearcher.getDocSet(List<Query>) (processes some filter queries). (David Smiley)
* SOLR-13886: HDFSSyncSliceTest and SyncSliceTest started failing frequently (Kevin Risden)
================== 8.5.1 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.

View File

@ -130,6 +130,7 @@ public class SyncSliceTest extends AbstractFullDistribZkTestBase {
// this doc won't be on one node
indexDoc(skipServers, id, docId++, i1, 50, tlong, 50, t1,
"to come to the aid of their country.");
commit();
Set<CloudJettyRunner> jetties = new HashSet<>();

View File

@ -33,7 +33,6 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
@ThreadLeakFilters(defaultFilters = true, filters = {
BadHdfsThreadsFilter.class // hdfs currently leaks thread(s)
})
// commented out on: 24-Dec-2018 @LuceneTestCase.BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 12-Jun-2018
public class HdfsSyncSliceTest extends SyncSliceTest {
private static MiniDFSCluster dfsCluster;
@ -55,5 +54,4 @@ public class HdfsSyncSliceTest extends SyncSliceTest {
protected String getDataDir(String dataDir) throws IOException {
return HdfsTestUtil.getDataDir(dfsCluster, dataDir);
}
}