doInitTestData() is never called inside AdvancedSolrRepositoryTests
I couldn't understand why the doInitTestData() is never called when you invokde mvn clean test, as shown the log below :
[INFO] Running example.springdata.solr.AdvancedSolrRepositoryTests
=====> START annotationBasedBoosting ...
=====> END annotationBasedBoosting ...
=====> START useRealtimeGetToReadUncommitedDocuments ...
=====> END useRealtimeGetToReadUncommitedDocuments ...
=====> START influcenceScoreWithFunctions ...
Product(id=id-5, name=XBox, category=null, location=null, description=Microsift XBox, inStock=false, popularity=2, score=1.0)
Product(id=p-0, name=foobar, category=null, location=null, description=null, inStock=false, popularity=null, score=0.0)
Product(id=p-1, name=foobar, category=null, location=null, description=null, inStock=false, popularity=null, score=0.0)
Product(id=p-2, name=foobar, category=null, location=null, description=null, inStock=false, popularity=null, score=0.0)
Product(id=p-3, name=foobar, category=null, location=null, description=null, inStock=false, popularity=null, score=0.0)
Product(id=p-4, name=foobar, category=null, location=null, description=null, inStock=false, popularity=null, score=0.0)
Product(id=p-5, name=foobar, category=null, location=null, description=null, inStock=false, popularity=null, score=0.0)
Product(id=p-6, name=foobar, category=null, location=null, description=null, inStock=false, popularity=null, score=0.0)
Product(id=p-7, name=foobar, category=null, location=null, description=null, inStock=false, popularity=null, score=0.0)
Product(id=p-8, name=foobar, category=null, location=null, description=null, inStock=false, popularity=null, score=0.0)
=====> END influcenceScoreWithFunctions ...
=====> START annotationBasedHighlighting ...
=====> END annotationBasedHighlighting ...
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.994 s - in example.springdata.solr.AdvancedSolrRepositoryTests
As consequence, the test methods such as annotationBasedBoosting(), annotationBasedHighlighting(), etc prints nothing.
What am I missing ?