Skip to content
Permalink
Browse files
Firefox stalls without longer delays.
Not really happy with this, but perhaps Jenkins will be.
  • Loading branch information
dmethvin committed Feb 24, 2012
1 parent dec2804 commit 52816619a9fb6c5d329541c75407cd05a4750f1c
Showing 1 changed file with 3 additions and 3 deletions.
@@ -145,7 +145,7 @@ test("delay() can be stopped", function() {
ok( true, "This first function was dequeued" );
next();
})
.delay( 100, "alternate" )
.delay( 1000, "alternate" )
.queue( "alternate", function() {
run++;
ok( true, "The function was dequeued immediately, the delay was stopped" );
@@ -156,7 +156,7 @@ test("delay() can be stopped", function() {
.stop( "alternate", false, false )

// this test
.delay( 100 )
.delay( 1000 )
.queue(function() {
run++;
ok( false, "This queue should never run" );
@@ -167,7 +167,7 @@ test("delay() can be stopped", function() {

equal( run, 2, "Queue ran the proper functions" );

setTimeout( start, 200 );
setTimeout( start, 2000 );
});


3 comments on commit 5281661

@mikesherov
Copy link
Member

@mikesherov mikesherov commented on 5281661 Feb 25, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with this.

@dmethvin
Copy link
Member Author

@dmethvin dmethvin commented on 5281661 Feb 25, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sure, maybe great for you but those are TWO SECONDS of my life I'll never get back each time I run the unit tests. Two seconds here, two seconds there, pretty soon it's midnight and Jenkins is still calling me a failure.

@mikesherov
Copy link
Member

@mikesherov mikesherov commented on 5281661 Feb 25, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as long as no one is blaming hanging tests on the PHP includes anymore.

Please sign in to comment.