Description
There are two flaky tests in the test case: OptimizedMarshallerPooledSelfTest#testEvents and OptimizedMarshallerPooledSelfTest#testServices. The tests timeout, the reason is the following assertion:
[00:39:14]W: [org.gridgain:ignite-core] java.lang.AssertionError [00:39:14]W: [org.gridgain:ignite-core] at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectStreamRegistry.closeOut(OptimizedObjectStreamRegistry.java:120) [00:39:14]W: [org.gridgain:ignite-core] at org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.marshal0(OptimizedMarshaller.java:209) [00:39:14]W: [org.gridgain:ignite-core] at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.marshal(AbstractNodeNameAwareMarshaller.java:56) [00:39:14]W: [org.gridgain:ignite-core] at org.apache.ignite.internal.util.IgniteUtils.marshal(IgniteUtils.java:10658) [00:39:14]W: [org.gridgain:ignite-core] at org.apache.ignite.internal.util.IgniteUtils.marshal(IgniteUtils.java:10722) [00:39:14]W: [org.gridgain:ignite-core] at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsFullMessage.partitionSizes(GridDhtPartitionsFullMessage.java:360) [00:39:14]W: [org.gridgain:ignite-core] at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.createPartitionsFullMessage(GridCachePartitionExchangeManager.java:1543) [00:39:14]W: [org.gridgain:ignite-core] at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.createPartitionsFullMessage(GridCachePartitionExchangeManager.java:1442) [00:39:14]W: [org.gridgain:ignite-core] at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.createPartitionsMessage(GridDhtPartitionsExchangeFuture.java:2116)
Looks like the assertion fails because we attempt to return a stream to the pool which does not belong to it.
Attachments
Issue Links
- links to