This is an automated email from the ASF dual-hosted git repository.

klund pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git

commit a1621b3e594456041a3333ccf76e08fa6b53cd02
Author: Kirk Lund <[email protected]>
AuthorDate: Thu Jul 12 16:54:17 2018 -0700

    GEODE-5430: Add getController method to VM
---
 geode-core/src/test/java/org/apache/geode/test/dunit/VM.java | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/geode-core/src/test/java/org/apache/geode/test/dunit/VM.java 
b/geode-core/src/test/java/org/apache/geode/test/dunit/VM.java
index d25c2f3..7b84ee9 100644
--- a/geode-core/src/test/java/org/apache/geode/test/dunit/VM.java
+++ b/geode-core/src/test/java/org/apache/geode/test/dunit/VM.java
@@ -111,6 +111,13 @@ public class VM implements Serializable {
   }
 
   /**
+   * Returns the DistributedTest Locator VM.
+   */
+  public static VM getController() {
+    return getVM(CONTROLLER_VM);
+  }
+
+  /**
    * Returns the machine name hosting this DistributedTest.
    */
   public static String getHostName() {

Reply via email to