Apache Lucene open-source search software
Fixed compile error in GDataIndexWriterTest as IndexWriter has not commitTimeout setter anymore. Fixed misspelled path in gom-build.xml
Simon Willnauer5aabf7a0b9bf
diff --git a/contrib/gdata-server/gdata-build/gom-build.xml b/contrib/gdata-server/gdata-build/gom-build.xmlindex 63813cf8115..d00ac017c92 100644--- a/contrib/gdata-server/gdata-build/gom-build.xml+++ b/contrib/gdata-server/gdata-build/gom-build.xml@@ -25,7 +25,7 @@<available file="${build.dir}/${final.name}.jar" property="gdata.core.jar.present"/><fail if="${gdata.core.jar.present}" message="Must gdata core jar first. run build.xml - 'jar-core' task"/><path id="gom.build.path">- <fileset id="gom-jars" dir="${gdata.lib.dir}">+ <fileset id="gom-jars" dir="${gdata.external.lib.dir}"><include name="stax-1.1.2-dev.jar"/><include name="stax-api-1.0.1.jar"/></fileset>diff --git a/contrib/gdata-server/src/core/test/org/apache/lucene/gdata/search/index/TestGdataIndexWriter.java b/contrib/gdata-server/src/core/test/org/apache/lucene/gdata/search/index/TestGdataIndexWriter.javaindex 1be9c4dc3ed..25a256dc21e 100755--- a/contrib/gdata-server/src/core/test/org/apache/lucene/gdata/search/index/TestGdataIndexWriter.java+++ b/contrib/gdata-server/src/core/test/org/apache/lucene/gdata/search/index/TestGdataIndexWriter.java@@ -68,7 +68,8 @@ public class TestGdataIndexWriter extends TestCase {writer = new GDataIndexWriter(new RAMDirectory(),true,this.schemaPerFielAnalyzer);assertTrue(writer.getAnalyzer().getClass() == PerFieldAnalyzerWrapper.class);- assertEquals(VALUE_GT_DEFAULT_LONG,writer.getCommitLockTimeout());+ //TODO fix this - index writer has no commitlocktimeout setter anymore (lockless commits)+// assertEquals(VALUE_GT_DEFAULT_LONG,writer.getCommitLockTimeout());assertEquals(VALUE_GT_DEFAULT_LONG,writer.getWriteLockTimeout());assertEquals(VALUE_GT_DEFAULT_INT,writer.getMaxBufferedDocs());assertEquals(VALUE_GT_DEFAULT_INT,writer.getMaxMergeDocs());