I noticed something a little odd -- certain test data is not cleared up
by the clean target. At some point in the past, I ran all the tests.
Today, while running an individual test case, I see tophint data from
other tests. I was in solr/solrj and ran -Dtestcase=NamedListTest.
This is the last part of the output:
[junit4:junit4] Executing 1 suite with 1 JVM.
[junit4:junit4]
[junit4:junit4] Started J0 PID(6384@freya).
[junit4:junit4] Suite: org.apache.solr.common.util.NamedListTest
[junit4:junit4] OK 0.13s | NamedListTest.testRecursive
[junit4:junit4] OK 0.01s | NamedListTest.testRemove
[junit4:junit4] Completed in 0.79s, 2 tests
[junit4:junit4]
[junit4:junit4] JVM J0: 0.87 .. 2.25 = 1.38s
[junit4:junit4] Execution time total: 2.26 sec.
[junit4:junit4] Tests summary: 1 suite, 2 tests
[echo] 5 slowest tests:
[junit4:tophints] 40.21s |
org.apache.solr.client.solrj.impl.CloudSolrServerTest
[junit4:tophints] 38.67s |
org.apache.solr.client.solrj.TestLBHttpSolrServer
[junit4:tophints] 23.83s |
org.apache.solr.client.solrj.embedded.SolrExampleStreamingTest
[junit4:tophints] 15.20s |
org.apache.solr.client.solrj.embedded.SolrExampleStreamingBinaryTest
[junit4:tophints] 7.96s | org.apache.solr.client.solrj.TestBatchUpdate
BUILD SUCCESSFUL
Total time: 11 seconds
As you can see, the tophints data was all from tests that I didn't run
this time. It happens on both Linux and Windows, and for tests under
lucene as well as solr.
Is this a known problem with no simple solution, or should I file an issue?
Thanks,
Shawn
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]