You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Artem Shutak (JIRA)" <ji...@apache.org> on 2015/01/29 14:45:34 UTC

[jira] [Comment Edited] (IGNITE-148) To create tests which validate exceptions at IpcSharedMemoryUtils.cpp

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