[
https://issues.apache.org/jira/browse/IGNITE-5910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vyacheslav Daradur updated IGNITE-5910:
---------------------------------------
Description:
{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.
was:
{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}
> 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)