ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Shutak (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-148) To create tests which validate exceptions at IpcSharedMemoryUtils.cpp
Date Thu, 29 Jan 2015 13:45:34 GMT

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

Artem Shutak edited comment on IGNITE-148 at 1/29/15 1:45 PM:
--------------------------------------------------------------

Add new tests at IpcSharedMemorySpaceSelfTest (see testBasicOperations)
Test Exception:
- IgniteCheckedException - to try to add wrong file at allocateSystemResources(...)
- IpcSharedMemoryOperationTimedoutException
- IpcOutOfSystemResourcesException - to try to allocate (via allocateSystemResources(..) )
more than 10mb (for example)


was (Author: ashutak):
Add new tests at IpcSharedMemorySpaceSelfTest (see testBasicOperations)
Test Exception:
- IgniteCheckedException - to try to add wrong file at allocateSystemResources(...)
const char* OP_TIMEDOUT_EXCEPTION = "org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryOperationTimedoutException"
const char* OUT_OF_RSRCS_EXCEPTION = "org/apache/ignite/internal/util/ipc/shmem/IpcOutOfSystemResourcesException"
- to try to allocate (via allocateSystemResources(..) ) more than 10mb (fo example)

> To create tests which validate exceptions at IpcSharedMemoryUtils.cpp
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-148
>                 URL: https://issues.apache.org/jira/browse/IGNITE-148
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Artem Shutak
>            Assignee: Artem Shutak
>             Fix For: sprint-1
>
>
> Need to add tests which will validate that java-exceptions used at IpcSharedMemoryUtils.cpp
can be thrown correctly (without jvm crash).



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

Mime
View raw message