[jira] [Created] (IGNITE-10108) Non-static class is passed between cluster nodes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-10108) Non-static class is passed between cluster nodes

Anton Vinogradov (Jira)
Vladislav Pyatkov created IGNITE-10108:
------------------------------------------

             Summary: Non-static class is passed between cluster nodes
                 Key: IGNITE-10108
                 URL: https://issues.apache.org/jira/browse/IGNITE-10108
             Project: Ignite
          Issue Type: Bug
            Reporter: Vladislav Pyatkov


Need to avoid passing anonymous classes on compute, because this lead to serialize whole test-class context.
By the reason need to refactor that place

{code}

ignite.compute().withTimeout(5_000).broadcastAsync(new IgniteRunnable() {

...

});

{code}

in method \{{GridCommonAbstractTest#manualCacheRebalancing}} into private static nested class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)