You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/03/15 18:59:33 UTC

[jira] [Commented] (GEODE-1097) allow Lambda invocations to be named so that they show up in test logs

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

ASF subversion and git services commented on GEODE-1097:
--------------------------------------------------------

Commit 22ab27067c74eae5b2af799d6453dad461f98eec in incubator-geode's branch refs/heads/develop from [~bschuchardt]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=22ab270 ]

GEODE-1097 allow Lambda invocations to be named so that they show up in test logs

This adds variants of VM.invoke() and VM.invokeAsync() that take a String name
for the invocation that will be logged during dunit testing.


> 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
>
> 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)