You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/12/19 20:13:13 UTC

[jira] [Created] (ACCUMULO-3442) Occasional failure of BlockedIOStreamTest

Josh Elser created ACCUMULO-3442:
------------------------------------

             Summary: Occasional failure of BlockedIOStreamTest
                 Key: ACCUMULO-3442
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3442
             Project: Accumulo
          Issue Type: Bug
          Components: test
            Reporter: Josh Elser
            Priority: Minor
             Fix For: 1.6.3


I see this test fail every now and again (happened to me yesterday and now again today)

{noformat}
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.143 sec <<< FAILURE! - in org.apache.accumulo.core.security.crypto.BlockedIOStreamTest
testGiantWrite(org.apache.accumulo.core.security.crypto.BlockedIOStreamTest)  Time elapsed: 6.086 sec  <<< FAILURE!
org.junit.internal.ArrayComparisonFailure: arrays first differed at element [793]; expected:<-84> but was:<-92>
	at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
	at org.junit.Assert.internalArrayEquals(Assert.java:473)
	at org.junit.Assert.assertArrayEquals(Assert.java:294)
	at org.junit.Assert.assertArrayEquals(Assert.java:305)
	at org.apache.accumulo.core.security.crypto.BlockedIOStreamTest.testGiantWrite(BlockedIOStreamTest.java:158)
{noformat}

When I rerun the test, it passes on the second attempt. Not sure if there's some edge case the test isn't covering correctly (since it use a Random object) or what. I'll try to log other error conditions when I see it again.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)