You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2018/11/12 18:41:00 UTC

[jira] [Updated] (GEODE-6033) Make the DistributedTest Rules support VM bounce

     [ https://issues.apache.org/jira/browse/GEODE-6033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kirk Lund updated GEODE-6033:
-----------------------------
    Description: 
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.

  was:
I just noticed that if you try to use SharedErrorCollector in a DistributedTest that uses vm.bounce, the after() in the Rule will through 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.


> Make the DistributedTest Rules support VM bounce
> ------------------------------------------------
>
>                 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
>
> 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.



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