Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private LocationSpec<SshMachineLocation> newSshMachineLocationSpec(String name,
.configure("longitude", lon);
}

@Test(groups="Integration")
@Test
public void testGeoInfoOnLocation() {
app.start( ImmutableList.of(westChildWithLocation, eastChildWithLocationAndWithPrivateHostname) );
publishSensors(2, true, true, true);
Expand All @@ -177,7 +177,7 @@ public void testGeoInfoOnLocation() {
assertIsTarget("East child with location");
}

@Test(groups="Integration")
@Test
public void testGeoInfoOnParentLocation() {
app.start( ImmutableList.of(westChild, eastChild) );
publishSensors(2, true, false, false);
Expand All @@ -187,7 +187,7 @@ public void testGeoInfoOnParentLocation() {
assertIsTarget("East child");
}

@Test(groups="Integration")
@Test
public void testSubscribesToHostname() {
geoDns.config().set(GeoDnsTestServiceImpl.ADD_ANYTHING, false);
app.start( ImmutableList.of(westChild, eastChildWithLocationAndWithPrivateHostname) );
Expand Down Expand Up @@ -219,7 +219,7 @@ protected void publishSensors(int expectedSize, boolean includeServiceUp, boolea
}
}

@Test(groups="Integration")
@Test
public void testChildAddedLate() {
app.start( ImmutableList.of(westChild, eastChildWithLocationAndWithPrivateHostname) );
publishSensors(2, true, false, false);
Expand All @@ -238,7 +238,7 @@ public void testChildAddedLate() {
log.info("targets: "+geoDns.getTargetHostsByName());
}

@Test(groups="Integration")
@Test
public void testFiltersEntirelyPrivate() {
geoDns.config().set(GeoDnsTestServiceImpl.ADD_ANYTHING, false);
app.start( ImmutableList.of(westChild, eastChildWithLocationAndWithPrivateHostname, northChildWithLocation) );
Expand Down Expand Up @@ -276,7 +276,7 @@ public void testFiltersForRunningEntities() {
assertAttributeEventually(geoDns, AbstractGeoDnsService.TARGETS, CollectionFunctionals.<String>mapSizeEquals(2));
}

@Test(groups="Integration")
@Test
public void testCanDisableFilterForRunningEntities() throws Exception {
geoDns.config().set(AbstractGeoDnsService.FILTER_FOR_RUNNING, false);
app.start(ImmutableList.of(westChildWithLocation, eastChildWithLocationAndWithPrivateHostname));
Expand Down