Apache Solr open-source search software
DenseVectorFieldTest tests that use atomic updates should check update log enabled
Kevin Risdend1d3efda8eaf
diff --git a/solr/core/src/test/org/apache/solr/schema/DenseVectorFieldTest.java b/solr/core/src/test/org/apache/solr/schema/DenseVectorFieldTest.javaindex 1830a8f7ffc..8a89a6b6422 100644--- a/solr/core/src/test/org/apache/solr/schema/DenseVectorFieldTest.java+++ b/solr/core/src/test/org/apache/solr/schema/DenseVectorFieldTest.java@@ -605,6 +605,9 @@ public class DenseVectorFieldTest extends AbstractBadConfigTestBase {@Testpublic void denseVectorField_shouldBePresentAfterAtomicUpdate() throws Exception {+ assumeTrue(+ "update log must be enabled for atomic update",+ Boolean.getBoolean(System.getProperty("enable.update.log")));try {initCore("solrconfig.xml", "schema-densevector.xml");SolrInputDocument doc = new SolrInputDocument();@@ -641,6 +644,9 @@ public class DenseVectorFieldTest extends AbstractBadConfigTestBase {@Testpublic void denseVectorFieldOnAtomicUpdate_shouldBeUpdatedCorrectly() throws Exception {+ assumeTrue(+ "update log must be enabled for atomic update",+ Boolean.getBoolean(System.getProperty("enable.update.log")));try {initCore("solrconfig.xml", "schema-densevector.xml");SolrInputDocument doc = new SolrInputDocument();