ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryabov Dmitrii (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-10127) GridCacheRebalancingSyncSelfTest ignores check result
Date Fri, 02 Nov 2018 10:51:00 GMT
Ryabov Dmitrii created IGNITE-10127:

             Summary: GridCacheRebalancingSyncSelfTest ignores check result
                 Key: IGNITE-10127
                 URL: https://issues.apache.org/jira/browse/IGNITE-10127
             Project: Ignite
          Issue Type: Test
            Reporter: Ryabov Dmitrii
             Fix For: 2.8

{{checkSupplyContextMapIsEmpty()}} method checks that map is empty, but ignores result of
this check.

GridTestUtils.waitForCondition(new PA() {
    @Override public boolean apply() {
        synchronized (map) {
            return map.isEmpty();
}, 15_000);

We should check that {{waitForCondition()}} returns true to be sure that map is cleared.

This message was sent by Atlassian JIRA

View raw message