incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (Reopened) (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (DIRECTMEMORY-29) Fix a payload size assertion in MemoryManagerTests.smokeTest()
Date Fri, 24 Feb 2012 09:04:49 GMT

     [ https://issues.apache.org/jira/browse/DIRECTMEMORY-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olivier Lamy reopened DIRECTMEMORY-29:
--------------------------------------

      Assignee:     (was: Raffaele P. Guidi)

reopen to set fix version field
                
> Fix a payload size assertion in MemoryManagerTests.smokeTest()
> --------------------------------------------------------------
>
>                 Key: DIRECTMEMORY-29
>                 URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-29
>             Project: Apache DirectMemory
>          Issue Type: Test
>            Reporter: Igor Babalich
>            Priority: Trivial
>
> When the test is executed more than one time by junitbenchmarks, the same instance of
MemoryManager is used. As result p.end is not equal to the payload's size, and test will fail.
> Fix by changing 
>    assertEquals(size,p.end);  to assertEquals(size,p.end-p.start);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message