Open Bug 754537 Opened 12 years ago Updated 2 years ago

When some tests fail in test_writer_starvation.js, it goes in infinite loop.

Categories

(Core :: Storage: IndexedDB, defect, P5)

x86_64
Linux
defect

Tracking

()

People

(Reporter: glandium, Unassigned)

Details

The loop is:
   while (callbackCount < readerCount) {
     executeSoon(function() { testGenerator.next(); });
     yield;
   }

When errors happen during the test, callbackCount is never incremented, and thus can't be higher than readerCount.
FYI, an "easy" way to end up in this infinite loop is to use an sqlite that doesn't have -DSQLITE_MAX_SCHEMA_RETRY=25.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.