Closed Bug 1340306 Opened 7 years ago Closed 7 years ago

Intermittent testing/marionette/test_wait.js | test_until_interval - [test_until_interval : 73] 2 == 1

Categories

(Testing :: Marionette Client and Harness, defect)

Version 3
defect
Not set
normal

Tracking

(firefox53 affected)

VERIFIED INCOMPLETE
Tracking Status
firefox53 --- affected

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: bulk-close-intermittents, intermittent-failure)

Btw. this test doesn't exist on mozilla-central anymore. May the related change needs an uplift to aurora for fixing this issue?
Flags: needinfo?(ato)
The test does exist on central as far as I can tell: http://searchfox.org/mozilla-central/source/testing/marionette/test_wait.js#67

I suspect what happens here is that the environment on Android debug (the try job RyanVM linked to above) is so slow that it doesn’t manage to evaluate the promise twice in 100 ms:

    add_task(function* test_until_interval() {
      let nevals = 0;
      yield wait.until((resolve, reject) => {
        ++nevals;
         reject();
      }, 100, 100);
      equal(2, nevals);
    });

I would be in favour of disabling this timing-dependent test on Android debug because (1) it is not a test that is imperative for debug builds, and (2) we would do other platforms a disservice by making the test slower to run.
Flags: needinfo?(ato)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → VERIFIED
Product: Testing → Remote Protocol
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in before you can comment on or make changes to this bug.