geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [geode] 01/05: GEODE-5430: Add getController method to VM
Date Mon, 16 Jul 2018 17:54:57 GMT
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 <klund@apache.org>
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() {


Mime
View raw message