mirror of
https://github.com/Echtzeitsysteme/iflye.git
synced 2024-06-02 18:31:55 +00:00
34 lines
898 B
Java
34 lines
898 B
Java
package test.algorithms.pm.pipeline;
|
|
|
|
import java.util.Set;
|
|
|
|
import org.junit.jupiter.api.AfterEach;
|
|
|
|
import algorithms.pm.VnePmMdvneAlgorithmPipelineThreeStagesB;
|
|
import model.SubstrateNetwork;
|
|
import model.VirtualNetwork;
|
|
import test.algorithms.generic.AVneAlgorithmPathBandwidthBugTest;
|
|
|
|
/**
|
|
* Test class to trigger the minimum path/link bandwidth bug.
|
|
*
|
|
* @author Maximilian Kratz {@literal <maximilian.kratz@es.tu-darmstadt.de>}
|
|
*/
|
|
//@Disabled
|
|
public class VnePmMdvneAlgorithmPipelineThreeStagesBPathBandwidthBugTest extends AVneAlgorithmPathBandwidthBugTest {
|
|
|
|
@Override
|
|
public void initAlgo(final SubstrateNetwork sNet, final Set<VirtualNetwork> vNets) {
|
|
algo = VnePmMdvneAlgorithmPipelineThreeStagesB.prepare(sNet, vNets);
|
|
}
|
|
|
|
@AfterEach
|
|
public void resetAlgo() {
|
|
facade.resetAll();
|
|
if (algo != null) {
|
|
((VnePmMdvneAlgorithmPipelineThreeStagesB) algo).dispose();
|
|
}
|
|
}
|
|
|
|
}
|