[
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)
How to 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(...)
- IpcSharedMemoryOperationTimedoutException
- IpcOutOfSystemResourcesException - to try to allocate (via
allocateSystemResources(..) ) more than 10mb (for 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)