[
https://issues.apache.org/jira/browse/IGNITE-5910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16403710#comment-16403710
]
Vyacheslav Daradur commented on IGNITE-5910:
--------------------------------------------
[~NIzhikov], here is [latest PR
ci.build|https://ci.ignite.apache.org/viewLog.html?buildId=1141592] look good
in comparison with [master branch's latest
ci.tests|https://ci.ignite.apache.org/viewLog.html?buildId=1141111].
> 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
> Priority: Major
> Labels: MakeTeamcityGreenAgain, tests
> Fix For: 2.5
>
>
> {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}
> *UPD:* It is necessary to fix possibility of hangup of a system thread of
> separate JVM at Ignite's node shutdown.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)