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

Artem Shutak commented on IGNITE-148:
-------------------------------------

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
>
> 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)

Reply via email to