ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Antonov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-11859) CommandHandlerParsingTest#testExperimentalCommandIsDisabled() don't works
Date Tue, 21 May 2019 12:40:00 GMT
Sergey Antonov created IGNITE-11859:

             Summary: CommandHandlerParsingTest#testExperimentalCommandIsDisabled() don't
                 Key: IGNITE-11859
                 URL: https://issues.apache.org/jira/browse/IGNITE-11859
             Project: Ignite
          Issue Type: Bug
            Reporter: Sergey Antonov
             Fix For: 2.8

{{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:

     * Test that experimental command (i.e. WAL command) is disabled by default.
    public void testExperimentalCommandIsDisabled() {

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

This message was sent by Atlassian JIRA

View raw message