You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Otis Gospodnetic <ot...@yahoo.com> on 2008/05/14 07:41:42 UTC
TestPayloads FAILED?
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
Re: TestPayloads FAILED?
Posted by Michael McCandless <lu...@mikemccandless.com>.
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