[
https://issues.apache.org/jira/browse/GEODE-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15196256#comment-15196256
]
ASF subversion and git services commented on GEODE-1097:
--------------------------------------------------------
Commit c5a88171733532e76f9f6880d0a8f5ea6fe0bede in incubator-geode's branch
refs/heads/develop from [~bschuchardt]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=c5a8817 ]
GEODE-1097 allow Lambda invocations to be named so that they show up in test
logs
addressing issues found by Jianxia. One of the VM methods was not invoking
the correct runnable. Unit tests were needed for the NamedRunnable
invocation methods. Since Runnable doesn't return a result the test
ensures that the target method has been invoked by having it throw an
exception.
> allow Lambda invocations to be named so that they show up in test logs
> ----------------------------------------------------------------------
>
> Key: GEODE-1097
> URL: https://issues.apache.org/jira/browse/GEODE-1097
> Project: Geode
> Issue Type: Improvement
> Components: tests
> Reporter: Bruce Schuchardt
> Assignee: Bruce Schuchardt
> Fix For: 1.0.0-incubating.M2
>
>
> Currently lambda invocations are logged like this:
> [vm_1][info 2016/03/14 10:17:04.395 PDT <RMI TCP Connection(1)-10.118.33.195>
> tid=0x14] Received method:
> com.gemstone.gemfire.test.dunit.DurableClientSimpleDUnitTest$$Lambda$5/1964980796.run
> with 0 args on object:
> com.gemstone.gemfire.test.dunit.DurableClientSimpleDUnitTest$$Lambda$5/1964980796@5e43dcd9
> It would be helpful to be able to have more context than this logged, such as
> [vm_0][info 2016/03/14 15:30:36.314 PDT <RMI TCP Connection(1)-10.118.33.195>
> tid=0x14] Received method: com.gemstone.gemfire.test.dunit.NamedCallable.call
> with 0 args on object: callable(getTestGetNotifiedClients_port)
> so that we can tell what the Lambda is doing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)