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

Ivan Bessonov commented on IGNITE-11931:
----------------------------------------

[~Pavlukhin] That's an interesting point, I never thought of tests as of 
"try-with-resources" entities and implemented current approach naturally.

I just checked default JUnit behavior and it's funny actually - none of 
assertions suppress each other, they are just shown in order.

If you think that current approach was a bad idea then we could change that. 
Both options are good to me, it's a rare situation anyway. Everything is better 
then losing the exception.

> Rewrite @WithSystemProperty handling using JUnit rules.
> -------------------------------------------------------
>
>                 Key: IGNITE-11931
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11931
>             Project: Ignite
>          Issue Type: Test
>            Reporter: Ivan Bessonov
>            Assignee: Ivan Bessonov
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>             Fix For: 2.8
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> @WithSystemProperty can only be used in classes that inherit 
> GridAbstractTest. This should be changed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to