You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by Jinmei Liao <ji...@pivotal.io> on 2018/08/06 16:26:17 UTC

Tests using LocatorStartupRule or ClusterStartupRule

Hi, all,

I just merged PR to develop that would change the default behavior of these
rules. Now when you use LocatorStartupRule to start a locator, the http
service won't be started by default (jmx manager will still be started be
default). If your test needs http service, you will need to do the following

@Rule
LocatorStartupRule locator = new LocatorStartupRule().withHttpService();

or
@Rule
ClusterStartupRule cluster = new ClusterStartupRule();
LocatorVM locator = cluster.startLocator(0, l->l.withHttpService());

-- 
Cheers

Jinmei