Skip to content

Commit

Permalink
#937 Ignored test that fails with SOLR cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdos committed Jan 16, 2025
1 parent dba3bac commit 7e13728
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/au/org/ala/biocache/dao/SolrIndexDAOImplIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.apache.solr.client.solrj.response.QueryResponse;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down Expand Up @@ -118,6 +119,7 @@ public void endemicQueryStream2() throws Exception {
}

@Test
@Ignore
public void getIndexVersion() throws Exception {
// TODO: This test will fail when using a zk/solr cluster. Not currently an issue.

Expand All @@ -140,6 +142,7 @@ public void getIndexVersion() throws Exception {
solrIndexDAO.getIndexVersion(true);
Thread.sleep(1000);
Long indexVersionEnd = solrIndexDAO.getIndexVersion(false);
// System.out.println("indexVersionStart: " + indexVersionStart + ", indexVersionEnd: " + indexVersionEnd);

assert (indexVersionStart < indexVersionEnd);
}
Expand Down

0 comments on commit 7e13728

Please sign in to comment.