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

Anton Vinogradov commented on IGNITE-4909:
------------------------------------------

Possible case is to change such AssertionErrors to RuntimeExceptions.

> Get Rid of AssertionError as a positive warnings
> ------------------------------------------------
>
>                 Key: IGNITE-4909
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4909
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Anton Vinogradov
>             Fix For: 2.0
>
>
> I found that some tests can cause AssertionError even in case everything is 
> ok.
> Examples:
> 1) [INFO ]test-runner-#4966%future.GridEmbeddedFutureSelfTest%[root] Failed 
> with unhandled error (normal behaviour): java.lang.AssertionError: Test 
> assertion (should be ignored).
> 2) [INFO ]test-runner-#4883%lang.GridByteArrayListSelfTest%[root] Caught 
> expected error: java.lang.AssertionError



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to