You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (JIRA)" <ji...@apache.org> on 2018/04/17 16:55:00 UTC
[jira] [Created] (IGNITE-8301)
testReconnectCacheDestroyedAndCreated should excpect recreated client cache
Maxim Muzafarov created IGNITE-8301:
---------------------------------------
Summary: testReconnectCacheDestroyedAndCreated should excpect recreated client cache
Key: IGNITE-8301
URL: https://issues.apache.org/jira/browse/IGNITE-8301
Project: Ignite
Issue Type: Bug
Components: cache
Affects Versions: 2.5
Reporter: Maxim Muzafarov
Assignee: Maxim Muzafarov
Fix For: 2.6
Due to changes IGNITE-2766 have merged, client cache recreates after node reconnects.
This check became unnecessary for {{IgniteClientReconnectCacheTest.testReconnectCacheDestroyedAndCreated}} and should be removed.
{code:java}
GridTestUtils.assertThrows(log, new Callable<Object>() {
@Override public Object call() throws Exception {
return clientCache.get(1);
}
}, IllegalStateException.class, null);
{code}
Currently we have exception:
{code:java}
java.lang.AssertionError: Exception has not been thrown.
at org.apache.ignite.testframework.GridTestUtils.assertThrows(GridTestUtils.java:328)
at org.apache.ignite.internal.IgniteClientReconnectCacheTest.testReconnectCacheDestroyedAndCreated(IgniteClientReconnectCacheTest.java:897)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2080)
at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:140)
at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1995)
at java.lang.Thread.run(Thread.java:748)
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)