lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject back compat testing
Date Wed, 26 Nov 2008 12:06:56 GMT

We now run "ant test-tag" in the nightly build, to verify that all
unit tests in 2.4.0 still pass, which is awesome.

But, for LUCENE-1464, which is ready to commit, there is a bug in
TestLockFactory whereby its rmDir method hits an NPE if the directory
doesn't exist.  For two testcases that now happens because I fixed
FSDir.getDirectory to not create the dir (until createOutput is called).

I think the test should be fixed, and my patch has that fix, but in
order to keep using "ant test-tag", I'd like to make a branch and
commit the fix for this test onto that branch, and fix "ant test-tag"
to checkout that branch.

Any objections?  How about the name "branches/ 
lucene_2_4_back_compat_tests"?

Going forward if we ever need to "fix" tests, I think we commit
the fix to that branch at the same time as committing to trunk.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message