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

Ignite TC Bot commented on IGNITE-11859:
----------------------------------------

{panel:title=--> Run :: All: Possible 
Blockers|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}[Check Code Style]{color} [[tests 0 Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=4263818]]

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=4263819&buildTypeId=IgniteTests24Java8_RunAll]

> CommandHandlerParsingTest#testExperimentalCommandIsDisabled() don't works
> -------------------------------------------------------------------------
>
>                 Key: IGNITE-11859
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11859
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Sergey Antonov
>            Assignee: Kirill Tkalenko
>            Priority: Major
>             Fix For: 2.8
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{parseArgs(Arrays.asList(WAL.text(), WAL_PRINT));}} and 
> {{parseArgs(Arrays.asList(WAL.text(), WAL_DELETE));}} should throw 
> IllegalArgumentException, but it isn't.
> h2. How to reproduce:
> Replace test to:
> {code:java}
>     /**
>      * Test that experimental command (i.e. WAL command) is disabled by 
> default.
>      */
>     @Test
>     public void testExperimentalCommandIsDisabled() {
>         System.clearProperty(IGNITE_ENABLE_EXPERIMENTAL_COMMAND);
>         GridTestUtils.assertThrows(null, 
> ()->parseArgs(Arrays.asList(WAL.text(), WAL_PRINT)), 
> IllegalArgumentException.class, null);
>         GridTestUtils.assertThrows(null, 
> ()->parseArgs(Arrays.asList(WAL.text(), WAL_DELETE)), 
> IllegalArgumentException.class, null);
>     }
> {code}



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

Reply via email to