You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Rodion (JIRA)" <ji...@apache.org> on 2018/11/06 09:12:00 UTC
[jira] [Resolved] (IGNITE-10127) GridCacheRebalancingSyncSelfTest
ignores check result
[ https://issues.apache.org/jira/browse/IGNITE-10127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rodion resolved IGNITE-10127.
-----------------------------
Resolution: Cannot Reproduce
method assertTrue() have already check (map.isEmpty()).
> GridCacheRebalancingSyncSelfTest ignores check result
> -----------------------------------------------------
>
> Key: IGNITE-10127
> URL: https://issues.apache.org/jira/browse/IGNITE-10127
> Project: Ignite
> Issue Type: Test
> Reporter: Ryabov Dmitrii
> Assignee: Rodion
> Priority: Trivial
> Labels: newbie
> Fix For: 2.8
>
>
> {{checkSupplyContextMapIsEmpty()}} method checks that map is empty, but ignores result of this check.
> {code:java}
> GridTestUtils.waitForCondition(new PA() {
> @Override public boolean apply() {
> synchronized (map) {
> return map.isEmpty();
> }
> }
> }, 15_000);
> {code}
> We should check that {{waitForCondition()}} returns true to be sure that map is cleared.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)