lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: [JENKINS] Lucene-Solr-tests-only-trunk-java7 - Build # 2324 - Failure
Date Tue, 24 Apr 2012 17:46:34 GMT

: FWIW: I can not reproduce this using hte specified seed...

Even when i added explicit checks for the input that the test complained 
about ("GMT-00") i still can't reproduce ... but i'm using Java6 and i 
don't have Java7.

I double checked the code, and i seriously don't understand how this 
failure could happen -- unless multiple calls to 
TimeZone.getTimeZone("GMT-00") return diff objects.  (the only diff 
between the expected and actual code paths are that in the "actual" path, 
the helper method can return null instead of calling TimeZone.getTimeZone 
if the input string doesn't match some rules.

Can anybody reproduce this failure?

you shouldn't even need to trust the seed, just run the entire 
TimeZoneUtilsTest class with the changes to "testCustom" i just committed 
that explicitly test "GMT-00"

: ant test -Dtests.class=*.TimeZoneUtilsTest -Dtests.method=testRandom -Dtests.seed=A928CC75CAAEE111
-Dtests.multiplier=3 -Dargs="-Dfile.encoding=US-ASCII"
: 
: And the same test passed on the latest trunk (non java7) jenkins build...
: 
: https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/13455/

-Hoss

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


Mime
View raw message