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 2019/03/08 17:23:00 UTC

[jira] [Commented] (GEODE-6033) DistributedTest rules should support bouncing and creating new VMs

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

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

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

GEODE-6033: Add new test UseJacksonForJsonPathRuleTest

* Add jackson compile dependencies to geode-junit
* Cleanup IDE warnings in UseJacksonForJsonPathRule


> 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: 6h
>  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)