I'm working on a patch for SOLR-445, and it's near completion. The problem
is that I'm getting weird test failures. TestDistributedSearch fails *only*
when run as part of the full "ant test", *not* when I run it either from the
command line (-Dtestcase=) or from within IntelliJ.

So I assume it's some "interesting" interaction between some previous test
and the one in question. Before I go and try to figure it out, does anyone
have any wisdom to offer as to
1> how to go about tracking it down?
2> what to look for?
3> any tools anyone has stashed away?

I know this has been a problem before, and would love to *not* have to
re-invent a wheel here. The obvious thing to do would be to run
sub-sequences of tests until I included one that failed, which is an example
of what I mean by "tools". I have the output in test-results, so I assume I
know the sequence of tests just in front of the one that fails.

It looks like I can go into the build.xml file and mess around with the
junit tag, possibly make another <batchtest> section and include
successively more tests to get a clue, but that seems kind of
clumsy-but-do-able.

Code inspection would be hit-or-miss, but may be the only real option here.
It sure would be nice to have a place to start....

Best
Erick

Reply via email to