geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-6033) DistributedTest rules should support bouncing and creating new VMs
Date Fri, 15 Feb 2019 21:08:00 GMT

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

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

Commit c20b9613dfacf0e90026be40befcbaf70bc02be4 in geode's branch refs/heads/develop from
Kirk Lund
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=c20b961 ]

GEODE-6033: Provide default impls in VMEventListener


> DistributedTest rules should support bouncing and creating new VMs
> ------------------------------------------------------------------
>
>                 Key: GEODE-6033
>                 URL: https://issues.apache.org/jira/browse/GEODE-6033
>             Project: Geode
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 5h 20m
>  Remaining Estimate: 0h
>
> I just noticed that if you try to use SharedErrorCollector in a DistributedTest that
uses vm.bounce, the after() in the Rule will throw NullPointerException in the vm that was
bounced because nothing ever invoked the before() in the new instance of that vm.
> Presumably all of the DistributedTest Rules may fail in this way after using bounce:
> * DistributedDiskDirRule
> * DistributedRestoreSystemProperties
> * DistributedUseJacksonForJsonPathRule
> * SharedCountersRule
> * SharedErrorCollector



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

Mime
View raw message