[jira] [Updated] (IGNITE-17042) Fix flaky tests failed due to client cache is null
[ https://issues.apache.org/jira/browse/IGNITE-17042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amelchev Nikita updated IGNITE-17042: - Fix Version/s: 2.14 > 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 >Priority: Major > Fix For: 2.14 > > > There are several tests that failed due to client cache is null: > {noformat} > grid(0).createCache(ccfg); > clientCache = client.cache(ccfg.getName()); > clientCache.put(); // Cache can be null due to 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)
[jira] [Updated] (IGNITE-17042) Fix flaky tests failed due to client cache is null
[ https://issues.apache.org/jira/browse/IGNITE-17042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amelchev Nikita updated IGNITE-17042: - Description: There are several tests that failed due to client cache is null: {noformat} grid(0).createCache(ccfg); clientCache = client.cache(ccfg.getName()); clientCache.put(); // Cache can be null due to 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} was: 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} > 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 >Priority: Major > > There are several tests that failed due to client cache is null: > {noformat} > grid(0).createCache(ccfg); > clientCache = client.cache(ccfg.getName()); > clientCache.put(); // Cache can be null due to 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 >