Skip to content

Commit

Permalink
Revert "Added Thread.sleep to ensure the listener is called"
Browse files Browse the repository at this point in the history
This reverts commit 342a8dc.
  • Loading branch information
gastaldi committed Jan 29, 2015
1 parent 342a8dc commit b707482
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -33,8 +33,6 @@ public void testContainerStartup() throws Exception

furnace.startAsync();
waitUntilStarted(furnace);
// Wait until the listener is called
Thread.sleep(100);
Assert.assertEquals(1, listener.beforeStartTimesCalled);
Assert.assertEquals(1, listener.afterStartTimesCalled);
registration.removeListener();
Expand Down

0 comments on commit b707482

Please sign in to comment.