You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Amelchev Nikita (Jira)" <ji...@apache.org> on 2022/05/26 16:42:00 UTC
[jira] [Created] (IGNITE-17042) Fix flaky tests failed due to client cache is null
Amelchev Nikita created IGNITE-17042:
----------------------------------------
Summary: Fix flaky tests failed due to client cache is null
Key: IGNITE-17042
URL: https://issues.apache.org/jira/browse/IGNITE-17042
Project: Ignite
Issue Type: Bug
Reporter: Amelchev Nikita
Assignee: Amelchev Nikita
There are several tests that failed due to client cache is null:
{noformat}
grid(0).createCache(ccfg);
clientCache = client.cache(ccfg.getName());
clientCache.put(); // Can be null due client registers cache asynchroniously.
{noformat}
Example of test: CacheEntryProcessorNonSerializableTest.testPessimisticFullSync
{noformat}
======= Failed test run #1 ==========
------- Stdout: -------
java.lang.NullPointerException
at org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest.doTestInvokeTest(CacheEntryProcessorNonSerializableTest.java:437)
at org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest.testPessimisticFullSync(CacheEntryProcessorNonSerializableTest.java:197)
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 org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:2434)
at java.lang.Thread.run(Thread.java:748)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)