Dawid, sorry for the incomplete information (and for hijacking the thread)!
The "no runnable tests" error indeed isn't an issue for the gradle build.
But for ant I just confirmed that on a clean checkout of
`releases/lucene-solr/8.11.0`:
`ant test -Dtests.class='org.apache.solr.search.facet.*'` yie
ocess(SolrRequest.java:226)
at
app//org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1004)
at
app//org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1019)
at
app//org.apache.solr.BaseDistributedSearchTestCase.queryServer(BaseDist
> FWIW: the test-suite-level "no runnable tests" errors usually crop up for me
> when specifying tests with wildcard expressions, e.g.:
> `-Dtests.class='org.apache.solr.search.facet.*'` (with `DebugAgg` being the
> culprit in that case). I just ignore these "no runnable tests" errors (though
>
>LUCENE-9660. Perhaps it's worth porting over to Solr too.
+1 to this, I had been wondering about that!
The above explanation of the test suite error messages is great, and
perhaps would be nice to have in "contributing" docs too.
FWIW: the test-suite-level "no runnable tests" errors usually crop
> The test.seed will cause the randomized testing to choose the same
> locale/timezone/encoding/etc so that if you're hitting a bug that only shows
> up with swahili or for the kiribati timezone it will reproduce reliably.
Correct. Some things will be "derived" from this property at build
time (
Interesting! So, I changed my test.seed from 5B595A296E3623CE to
5B595A296E3623CC by changing the last letter from E to C, and reran the test,
and it passed!
Be curious if it fails for anyone else?
The failing seed version was complaining about various timeouts etc in dealing
with the col
The test.seed will cause the randomized testing to choose the same
locale/timezone/encoding/etc so that if you're hitting a bug that only
shows up with swahili or for the kiribati timezone it will reproduce
reliably.
This only works if your test is tripped by something influenced by that
seed. Oth
Can someone explain how the -Ptest.seed works, and how I use it to figure out
if a bug exists?
I ran the full set of tests, and had this message:
ERROR: The following test(s) have failed:
-
org.apache.solr.handler.component.DistributedQueryComponentCustomSortTest.test
(:solr:core)
Test