You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/11/04 23:02:27 UTC

[jira] [Commented] (GEODE-526) CI failure: OplogJUnitTest.testMagicSeqPresence fails sometimes

    [ https://issues.apache.org/jira/browse/GEODE-526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14990529#comment-14990529 ] 

ASF subversion and git services commented on GEODE-526:
-------------------------------------------------------

Commit 066c11ebdb26fffbdad89d1bf2a045b6cca1fc56 in incubator-geode's branch refs/heads/feature/GEODE-409 from Ashvin Agrawal
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=066c11e ]

GEODE-526: Fix oplog unit test race condition

KRF files are created asynchronously. The test needs to wait for the files to be
created before checking header content.


> CI failure: OplogJUnitTest.testMagicSeqPresence fails sometimes
> ---------------------------------------------------------------
>
>                 Key: GEODE-526
>                 URL: https://issues.apache.org/jira/browse/GEODE-526
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Ashvin
>            Assignee: Ashvin
>              Labels: CI
>
> {noformat}
> com.gemstone.gemfire.internal.cache.OplogJUnitTest > testMagicSeqPresence FAILED
>     junit.framework.AssertionFailedError: expected:<8> but was:<-1>
>         at junit.framework.Assert.fail(Assert.java:57)
>         at junit.framework.Assert.failNotEquals(Assert.java:329)
>         at junit.framework.Assert.assertEquals(Assert.java:78)
>         at junit.framework.Assert.assertEquals(Assert.java:234)
>         at junit.framework.Assert.assertEquals(Assert.java:241)
>         at junit.framework.TestCase.assertEquals(TestCase.java:409)
>         at com.gemstone.gemfire.internal.cache.OplogJUnitTest.verifyOplogHeader(OplogJUnitTest.java:3813)
>         at com.gemstone.gemfire.internal.cache.OplogJUnitTest.testMagicSeqPresence(OplogJUnitTest.java:3762)
> This test frequently fails with one of two exceptions. On Windows (under Eclipse) it frequently gets this AssertionFailedError?:
> junit.framework.AssertionFailedError: expected:<4> but was:<3>
> 	at junit.framework.Assert.fail(Assert.java:57)
> 	at junit.framework.Assert.failNotEquals(Assert.java:329)
> 	at junit.framework.Assert.assertEquals(Assert.java:78)
> 	at junit.framework.Assert.assertEquals(Assert.java:234)
> 	at junit.framework.Assert.assertEquals(Assert.java:241)
> 	at junit.framework.TestCase.assertEquals(TestCase.java:409)
> 	at com.gemstone.gemfire.internal.cache.OplogJUnitTest.testMagicSeqPresence(OplogJUnitTest.java:3762)
> {noformat}



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