Skip to content
Snippets Groups Projects
Commit 0576d1aa authored by Srinivasan Ramasubramanian's avatar Srinivasan Ramasubramanian
Browse files

Adding 1 second delay when multiple links are added in the TopologyImplTest.

parent 6fda92b6
No related branches found
No related tags found
No related merge requests found
......@@ -299,7 +299,14 @@ public class TopologyImplTest extends FloodlightTestCase {
{ 3, 3, 0, 4, 1, 0},
};
createLinks(topology, switches, linkInfoArray1);
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
int expectedClusters1[][] = {
{1,2,3},
{4},
......@@ -369,6 +376,14 @@ public class TopologyImplTest extends FloodlightTestCase {
{ 2, 4, 0, 5, 2, 0},
};
createLinks(topology, switches, linkInfoArray2);
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
int expectedClusters2[][] = {
{1,2,3,4,5,6},
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment