public static String getLocatorString() {
    return "localhost[" + locatorPort + "]";
  }
Test it see if the eclise dunit environment is launched.
geode-dunit/src/main/java/org/apache/geode/test/dunit/internal/DUnitLauncher.java