geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-4221) Unable to debug non-controller VMs in DUnit tests
Date Fri, 05 Jan 2018 19:52:01 GMT


ASF subversion and git services commented on GEODE-4221:

Commit 7e42f33ec639c13e8f644a57183b18896a2668d7 in geode's branch refs/heads/develop from
[;h=7e42f33 ]

GEODE-4221: Restore the ability to access the debugging VM. (#1234)

> Unable to debug non-controller VMs in DUnit tests
> -------------------------------------------------
>                 Key: GEODE-4221
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Michael Dodge
>            Assignee: 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

View raw message