[ 
https://issues.apache.org/jira/browse/IGNITE-10108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679711#comment-16679711
 ] 

Maxim Muzafarov commented on IGNITE-10108:
------------------------------------------

[~roman_s]

Yes, you are right.  The {{manualCacheRebalancing}} method is used only for 
{{CacheBaselineTopologyTest}} and only for rare cases. 
But I think we should keep it at {{GridCommonAbstractTest}} as a tool for 
widespread use.

> 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
>            Assignee: Roman Shtykh
>            Priority: Major
>
> 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)

Reply via email to