lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: TestPayloads FAILED?
Date Wed, 14 May 2008 07:59:01 GMT

I can't get this testcase to fail.

I've got in running over and over on Win XP / JRE 1.4 and OS X / JRE  
1.5 and haven't seen a failure.

Otis what are the specs of your laptop?

Hmm, actually, looking at that test, it generates a random byte  
sequence as the payload and then builds a String from that byte  
sequence using the default charset.  This is actually risky because  
it's entirely possible this would randomly generate an invalid UTF16  
string, which could cause that exact failure.

Otis what's the default charset for the JRE (OS) on your laptop?

Mike

Otis Gospodnetic wrote:
> Hi,
>
> Is this just me?  I have not run unit tests in a loooong time and  
> when I tried tonight this failed twice in a row.  I don't recall  
> any mentions of this on the ML, plus we are not getting nb failure  
> emails... just me and my laptop?
>
>     [junit] Testcase: testThreadSafety 
> (org.apache.lucene.index.TestPayloads):   FAILED
>     [junit] expected:<[?]��> but was:<[�]��>
>     [junit] junit.framework.ComparisonFailure: expected:<[?]��>  
> but was:<[�]��>
>     [junit]     at  
> org.apache.lucene.index.TestPayloads.testThreadSafety 
> (TestPayloads.java:514)
>     [junit] Test org.apache.lucene.index.TestPayloads FAILED
>
> Thanks,
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>


---------------------------------------------------------------------
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