Skip to content

Commit

Permalink
HZN-760: Increase sleep time and reset topology ui state
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus von Rüden committed May 18, 2016
1 parent c7c17df commit de699a4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ public void canShowVertices() throws IOException {

@Test
public void canSwitchLayers() {
topologyUIPage.selectTopologyProvider(() -> LABEL);
topologyUIPage.clearFocus();
topologyUIPage.selectLayer("Markets");
assertEquals(1, topologyUIPage.getFocusedVertices().size());
assertEquals("North 1", topologyUIPage.getFocusedVertices().get(0).getLabel());
Expand All @@ -132,7 +134,7 @@ private static void importGraph() throws IOException, InterruptedException {
Assert.assertEquals(201, response.getStatusLine().getStatusCode());
}
// We wait to give the GraphMLMetaTopologyFactory the chance to initialize the new Topology
Thread.sleep(5000);
Thread.sleep(60000);
}

private static void deleteGraph() throws IOException, InterruptedException {
Expand All @@ -142,7 +144,7 @@ private static void deleteGraph() throws IOException, InterruptedException {
Assert.assertEquals(200, response.getStatusLine().getStatusCode());
}
// We wait to give teh GraphMLMetaTopologyFactory the chance to clean up afterwards
Thread.sleep(5000);
Thread.sleep(60000);
}

private static HttpClientWrapper createClientWrapper() {
Expand Down

0 comments on commit de699a4

Please sign in to comment.