Michael Dodge created GEODE-4221: ------------------------------------ Summary: 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
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 (v6.4.14#64029)