Skip to content

Commit

Permalink
o Add a few ms wait to stabilize test
Browse files Browse the repository at this point in the history
  • Loading branch information
nabcos committed Nov 3, 2010
1 parent afd00b3 commit 4bdfddd
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -30,7 +30,6 @@
import org.junit.Test;
import org.sonatype.tests.jetty.server.behaviour.Content;
import org.sonatype.tests.jetty.server.behaviour.Pause;
import org.sonatype.tests.server.api.ServerProvider;

/**
* @author Benjamin Hanzelmann
Expand Down Expand Up @@ -94,7 +93,7 @@ public void testError()
public void testBehaviour()
throws Exception
{
provider.addBehaviour( "behave", new Pause( 500 ), new Content() );
provider.addBehaviour( "behave", new Pause( 550 ), new Content() );

long begin = System.currentTimeMillis();
URL url = new URL( "http://localhost:" + provider.getPort() + "/behave/baby" );
Expand Down

0 comments on commit 4bdfddd

Please sign in to comment.