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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to