[
https://issues.apache.org/jira/browse/IGNITE-13069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167664#comment-17167664
]
Ignite TC Bot commented on IGNITE-13069:
----------------------------------------
{panel:title=Branch: [pull/8091/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/8091/head] Base: [master] : New Tests
(8)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Service Grid (legacy mode){color} [[tests
4|https://ci.ignite.apache.org/viewLog.html?buildId=5497525]]
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=54a09c7d-9514-48ae-98e7-022449409ad9, topVer=0,
msgTemplate=null, span=null, nodeId8=221561a8, msg=, type=NODE_JOINED,
tstamp=1596018458570], val2=AffinityTopologyVersion
[topVer=8474127716081959109, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=54a09c7d-9514-48ae-98e7-022449409ad9, topVer=0,
msgTemplate=null, span=null, nodeId8=221561a8, msg=, type=NODE_JOINED,
tstamp=1596018458570], val2=AffinityTopologyVersion
[topVer=8474127716081959109, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=73c172a9371-4aaff3ba-3029-4f45-ba0b-d4f93177e437, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=cd248347-fa2c-4aee-9822-b90151316d9a, topVer=0, msgTemplate=null,
span=null, nodeId8=cd248347, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1596018458570]], val2=AffinityTopologyVersion
[topVer=-8702365112337405990, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=73c172a9371-4aaff3ba-3029-4f45-ba0b-d4f93177e437, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=cd248347-fa2c-4aee-9822-b90151316d9a, topVer=0, msgTemplate=null,
span=null, nodeId8=cd248347, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1596018458570]], val2=AffinityTopologyVersion
[topVer=-8702365112337405990, minorTopVer=0]]] - PASSED{color}
{color:#00008b}Service Grid{color} [[tests
4|https://ci.ignite.apache.org/viewLog.html?buildId=5497524]]
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=1b99044c-015b-4f83-b39f-d36207c1d71a, topVer=0,
msgTemplate=null, span=null, nodeId8=56e33a06, msg=, type=NODE_JOINED,
tstamp=1596018385126], val2=AffinityTopologyVersion
[topVer=-2143055321234721603, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=ab5462a9371-d5c80df4-dc64-469d-b856-f0f8ed49872b, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=59dc77d1-5857-47a5-a0ba-6616640420c3, topVer=0, msgTemplate=null,
span=null, nodeId8=59dc77d1, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1596018385126]], val2=AffinityTopologyVersion
[topVer=-4218186984683932045, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=ab5462a9371-d5c80df4-dc64-469d-b856-f0f8ed49872b, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=59dc77d1-5857-47a5-a0ba-6616640420c3, topVer=0, msgTemplate=null,
span=null, nodeId8=59dc77d1, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1596018385126]], val2=AffinityTopologyVersion
[topVer=-4218186984683932045, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=1b99044c-015b-4f83-b39f-d36207c1d71a, topVer=0,
msgTemplate=null, span=null, nodeId8=56e33a06, msg=, type=NODE_JOINED,
tstamp=1596018385126], val2=AffinityTopologyVersion
[topVer=-2143055321234721603, minorTopVer=0]]] - PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5497547&buildTypeId=IgniteTests24Java8_RunAll]
> Rewrite creation of IgniteInClosure and IgniteOutClosure as lambda expression
> -----------------------------------------------------------------------------
>
> Key: IGNITE-13069
> URL: https://issues.apache.org/jira/browse/IGNITE-13069
> Project: Ignite
> Issue Type: Improvement
> Components: general
> Affects Versions: 2.8.1
> Reporter: Nikolay Izhikov
> Assignee: Konstantin Sirotkin
> Priority: Trivial
> Labels: newbie
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> We can use lambda expression instead of direct instantiation of
> IgniteInClosure, IgniteOutClosure.
> This:
> {code:java}
> state = new DirectMessageState<>(StateItem.class, new
> IgniteOutClosure<StateItem>() {
> @Override public StateItem apply() {
> return new StateItem(msgFactory, protoVer);
> }
> });
> {code}
> Can be replaced with:
> {code:java}
> state = new DirectMessageState<>(StateItem.class, () -> new
> StateItem(msgFactory, protoVer));
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)