You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vyacheslav Daradur (JIRA)" <ji...@apache.org> on 2017/08/03 07:44:00 UTC

[jira] [Created] (IGNITE-5910) Method stopGrid(name) doesn't work in multiJvm mode

Vyacheslav Daradur created IGNITE-5910:
------------------------------------------

             Summary: Method stopGrid(name) doesn't work in multiJvm mode
                 Key: IGNITE-5910
                 URL: https://issues.apache.org/jira/browse/IGNITE-5910
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Vyacheslav Daradur
            Assignee: Vyacheslav Daradur
             Fix For: 2.2


{code:title=Exception at call}
java.lang.ClassCastException: org.apache.ignite.testframework.junits.multijvm.IgniteProcessProxy cannot be cast to org.apache.ignite.internal.IgniteKernal
{code}

{code:title=Reproducer snippet}
/** {@inheritDoc} */
    @Override protected boolean isMultiJvm() {
        return true;
    }

    /**
     * @throws Exception If failed.
     */
    public void testGrid() throws Exception {
        try {
            startGrid(0);

            startGrid(1);
        }
        finally {
            stopGrid(1);

            stopGrid(0);
        }
    }
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)