You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2018/04/20 19:57:23 UTC
[jira] [Closed] (GEODE-4221) Unable to debug non-controller VMs in
DUnit tests
[ https://issues.apache.org/jira/browse/GEODE-4221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker closed GEODE-4221.
--------------------------------
> Unable to debug non-controller VMs in DUnit tests
> -------------------------------------------------
>
> Key: GEODE-4221
> URL: https://issues.apache.org/jira/browse/GEODE-4221
> Project: Geode
> Issue Type: Bug
> Components: tests
> Reporter: Michael Dodge
> Assignee: Michael Dodge
> Priority: Major
>
> An easy mechanism for debugging code that would normally run in a non-controller VM in DUnit tests is to temporarily modify the test to pass {{-1}} to {{Host.getVM()}} _instead of_ a non-negative VM ID as would normally be used. Unfortunately, this mechanism now results in a {{java.lang.ArrayIndexOutOfBoundsException}} due to changes for GEODE-3985. {{DUnitLauncher.getVM(int n)}} needs to be modified to restore the use of {{-1}} for debugging.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)