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 with 3 additions and 3 deletions.
  1. +3 −3 test/unit/queue.js
@@ -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

This comment has been minimized.

Copy link
Member

replied Feb 25, 2012

I'm happy with this.

@dmethvin

This comment has been minimized.

Copy link
Member Author

replied Feb 25, 2012

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

This comment has been minimized.

Copy link
Member

replied Feb 25, 2012

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

Please sign in to comment.
You can’t perform that action at this time.