Closed johann-petrak closed 7 years ago
The issue was that one of the other tests was creating a serial corpus, not providing a datastore, and then not deleting the corpus at the end of the test. For some reason the test order was different enough on the PC @johann-petrak was using to cause the left over corpus to interfere with the mime type test. I've fixed this by removing the weird serial corpus test as all the functionality being tested was already covered by TestPersist.
when running the tests, when running testExplicitMimeType(gate.corpora.TestDocument) , it can happen that the following exception occurs:
To allow the test to complete successfully a temporary NPE guard was added, but this should get investigated!