Grant Ingersoll wrote:
> Are GData tests passing for people? I notice a lot of exceptions in the
> logs and it failed for me.
>
I'm seeing exceptions too when I run the GData tests. I'm running on Win
XP, SUN JRE 1.5.0.
Two examples:
[junit] INFO: Release new StorageQuery
[junit] org.apache.lucene.gdata.storage.StorageException: Entry not
found
[junit] at
org.apache.lucene.gdata.storage.lucenestorage.StorageQuery.getEntryLastModified(StorageQuery.java:480)
[junit] at
org.apache.lucene.gdata.storage.lucenestorage.TestStorageQuery.testGetEntryLastModied(TestStorageQuery.java:241)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
[junit] at java.lang.reflect.Method.invoke(Unknown Source)
[junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[junit] at junit.framework.TestCase.runBare(TestCase.java:130)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
[junit] at junit.framework.TestResult.run(TestResult.java:113)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:228)
[junit] at junit.framework.TestSuite.run(TestSuite.java:223)
[junit] at
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
[junit] at
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
[junit] ------------- ---------------- ---------------
[junit] Testsuite:
org.apache.lucene.gdata.storage.lucenestorage.recover.TestRevocerReader
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.461 sec
[junit] ------------- Standard Error -----------------
[junit] Sep 20, 2007 12:00:02 AM
org.apache.lucene.gdata.storage.lucenestorage.recover.RecoverReader
recoverEntries
[junit] SEVERE: Skipping recover entry for metadata: some corrupted
[junit]
org.apache.lucene.gdata.storage.lucenestorage.recover.RecoverException:
Illegal metadata --- some corrupted
[junit] at
org.apache.lucene.gdata.storage.lucenestorage.recover.RecoverReader$RecoverStrategy.fillMetaData(RecoverReader.java:141)
[junit] at
org.apache.lucene.gdata.storage.lucenestorage.recover.RecoverReader$RecoverStrategy.recover(RecoverReader.java:109)
[junit] at
org.apache.lucene.gdata.storage.lucenestorage.recover.RecoverReader.recoverEntries(RecoverReader.java:68)
[junit] at
org.apache.lucene.gdata.storage.lucenestorage.recover.TestRevocerReader.testRecoverReader(TestRevocerReader.java:91)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
[junit] at java.lang.reflect.Method.invoke(Unknown Source)
[junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[junit] at junit.framework.TestCase.runBare(TestCase.java:130)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
[junit] at junit.framework.TestResult.run(TestResult.java:113)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:228)
[junit] at junit.framework.TestSuite.run(TestSuite.java:223)
[junit] at
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
[junit] at
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
[junit] ------------- ---------------- ---------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]