Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
parseArgs(Arrays.asList(WAL.text(), WAL_PRINT)); and parseArgs(Arrays.asList(WAL.text(), WAL_DELETE)); should throw IllegalArgumentException, but it isn't.
How to reproduce:
Replace test to:
/** * 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); }
Attachments
Issue Links
- relates to
-
IGNITE-11256 Implement read-only mode for grid
- Resolved
- links to