petermr/normami

Failed WikipediaLookupTest test

Opened this issue · 0 comments

I have tried to compile and install normami (c8cebb7), but mvn compile && mvn install resulted in the following test failures:

Results :

Failed tests:   getWikidataIdForMultipleSpecies(org.contentmine.ami.lookups.WikipediaLookupTest): mouse expected:<[[83310, 737838, 140]]> but was:<[[]]>
  getWikidataIdForMultipleSpeciesWithMissing(org.contentmine.ami.lookups.WikipediaLookupTest): mouse expected:<[[83310, 737838, null, 140]]> but was:<[[]]>
  testLookup(org.contentmine.ami.lookups.WikipediaLookupTest): expected:<1> but was:<0>

Tests in error: 
  testGetWikidataForDictionariesAndUpdate1(org.contentmine.ami.lookups.WikipediaLookupTest): no input dictionaryDir
  getWikidataIdForSpecies(org.contentmine.ami.lookups.WikipediaLookupTest): com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2 path $

Tests run: 486, Failures: 3, Errors: 2, Skipped: 145

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:35 min
[INFO] Finished at: 2018-09-24T14:21:57+03:00
[INFO] Final Memory: 42M/876M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project normami: There are test failures.