/** * @throws Exception If failed. */ @Test public void testManagementThreadPoolSize() throws Exception { testWrongPoolSize(configuration().setManagementThreadPoolSize(WRONG_VALUE)); }
/** * @throws Exception If failed. */ @Test public void testRebalanceThreadPoolSize() throws Exception { testWrongPoolSize(configuration().setRebalanceThreadPoolSize(WRONG_VALUE)); }
/** * @throws Exception If failed. */ @Test public void testSystemThreadPoolSize() throws Exception { testWrongPoolSize(configuration().setSystemThreadPoolSize(WRONG_VALUE)); }
/** * @throws Exception If failed. */ @Test public void testAsyncCallbackPoolSize() throws Exception { testWrongPoolSize(configuration().setAsyncCallbackPoolSize(WRONG_VALUE)); }
/** * @throws Exception If failed. */ @Test public void testIgfsThreadPoolSize() throws Exception { testWrongPoolSize(configuration().setIgfsThreadPoolSize(WRONG_VALUE)); }
/** * @throws Exception If failed. */ @Test public void testPeerClassLoadingThreadPoolSize() throws Exception { testWrongPoolSize(configuration().setPeerClassLoadingThreadPoolSize(WRONG_VALUE)); }
/** * @throws Exception If failed. */ @Test public void testPublicThreadPoolSize() throws Exception { testWrongPoolSize(configuration().setPublicThreadPoolSize(WRONG_VALUE)); }
/** * @throws Exception If failed. */ @Test public void testUtilityCachePoolSize() throws Exception { testWrongPoolSize(configuration().setUtilityCachePoolSize(WRONG_VALUE)); }
/** * @throws Exception If failed. */ @Test public void testConnectorThreadPoolSize() throws Exception { final IgniteConfiguration cfg = configuration(); cfg.getConnectorConfiguration().setThreadPoolSize(WRONG_VALUE); testWrongPoolSize(cfg); }