You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/10/06 15:47:43 UTC
[GitHub] [ignite] xtern commented on a change in pull request #9477: IGNITE-15695 Fixed the build index thread pool size of the GridCommandHandlerIndexForceRebuildTest test
xtern commented on a change in pull request #9477:
URL: https://github.com/apache/ignite/pull/9477#discussion_r723415205
##########
File path: modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerIndexForceRebuildTest.java
##########
@@ -153,6 +157,8 @@ private void startupTestCluster() throws Exception {
createAndFillCache(ignite, CACHE_NAME_2_1, GRP_NAME_2);
createAndFillThreeFieldsEntryCache(ignite, CACHE_NAME_NO_GRP, null, Collections.singletonList(complexIndexEntity()));
+
+ assertTrue(grid(LAST_NODE_NUM).context().config().getBuildIndexThreadPoolSize() >= 2);
Review comment:
```suggestion
assertTrue("The test is designed to have more than one thread in the index rebuild pool.",
grid(LAST_NODE_NUM).context().config().getBuildIndexThreadPoolSize() > 1);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org