16 package org.openkilda.perf;
18 import com.google.common.base.Charsets;
19 import com.google.common.io.Resources;
21 import org.junit.Test;
23 import java.io.IOException;
34 private void testIt(URL
url)
throws IOException {
37 System.out.println(
"Just cleared the Topology Engine. Result = " +
result);
39 String doc = Resources.toString(
url, Charsets.UTF_8);
45 testIt(Resources.getResource(
"topologies/rand-5-20.json"));
50 testIt(Resources.getResource(
"topologies/rand-50-150.json"));
55 testIt(Resources.getResource(
"topologies/rand-200-500.json"));
static boolean TestMininetCreate(String json)
static String ClearTopology()
static boolean DeleteMininetTopology()
static final String defaultHost