use of org.openkilda.wfm.topology.network.error.IslControllerNotFoundException in project open-kilda by telstra.
the class NetworkIslServiceTest method noIslCreationOnIslDown.
@Test
public void noIslCreationOnIslDown() {
setupIslStorageStub();
IslReference reference = new IslReference(endpointAlpha1, endpointBeta2);
for (IslDownReason reason : IslDownReason.values()) {
try {
service.islDown(reference.getSource(), reference, reason);
Assert.fail("No expected exception IslControllerNotFoundException");
} catch (IslControllerNotFoundException e) {
// expected
}
}
}
Aggregations