Description
According to the contract of GridLoadBalancerAdapter it's prohibited to marshal this class.
However, the test in the summary somehow marshals this class when OptimizedMarshaller is used.
Switching to PortableMarshaller will help to catch the issue (use GridPortableBasicTestSuite).
Exception log:
Caused by: class org.gridgain.grid.portables.PortableException: Failed to execute readResolve() method on org.apache.ignite.internal.managers.loadbalancer.GridLoadBalancerManager$1@39484118 at org.gridgain.grid.internal.util.portable.GridPortableClassDescriptor.read(GridPortableClassDescriptor.java:564) at org.gridgain.grid.internal.util.portable.GridPortableReaderImpl.deserialize(GridPortableReaderImpl.java:1905) at org.gridgain.grid.internal.util.portable.GridPortableReaderImpl.doReadObject(GridPortableReaderImpl.java:1851) at org.gridgain.grid.internal.util.portable.GridPortableReaderImpl.readObject(GridPortableReaderImpl.java:450) at org.gridgain.grid.internal.util.portable.GridPortableClassDescriptor$FieldInfo.read(GridPortableClassDescriptor.java:1112) at org.gridgain.grid.internal.util.portable.GridPortableClassDescriptor.read(GridPortableClassDescriptor.java:541) at org.gridgain.grid.internal.util.portable.GridPortableReaderImpl.deserialize(GridPortableReaderImpl.java:1905) at org.gridgain.grid.internal.util.portable.GridPortableReaderImpl.doReadObject(GridPortableReaderImpl.java:1851) at org.gridgain.grid.internal.util.portable.GridPortableReaderImpl.readObject(GridPortableReaderImpl.java:450) at org.gridgain.grid.internal.util.portable.GridPortableClassDescriptor$FieldInfo.read(GridPortableClassDescriptor.java:1112) at org.gridgain.grid.internal.util.portable.GridPortableClassDescriptor.read(GridPortableClassDescriptor.java:541) at org.gridgain.grid.internal.util.portable.GridPortableReaderImpl.deserialize(GridPortableReaderImpl.java:1905) at org.gridgain.grid.internal.util.portable.GridPortableMarshaller.deserialize(GridPortableMarshaller.java:249) at org.gridgain.grid.marshaller.portable.PortableMarshaller.unmarshal(PortableMarshaller.java:296) at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:382) at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1046) at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1728) at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:690) at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:58)