Investigate why cancelling the extension suggestions timeout seems to make the tests stable for QuantumBar

NEW
Unassigned

Status

()

task
P5
normal
4 months ago
Last month

People

(Reporter: standard8, Unassigned)

Tracking

(Blocks 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [fxsearch])

Reporter

Description

4 months ago

In bug 1522508 I was having issues with getting the tests stable with QuantumBar.

browser/components/extensions/test/browser/browser_ext_omnibox.js would run the first section testInputEvents, but then randomly hang whilst running the testHeuristicResult sections.

I found that adding promise.then(timer.cancel); to cancel the timer if the handleSearch promise was resolved seemed to make things work better.

We should work out why that is, as it doesn't quite make sense. I suspect it might be something to do with how the promises/timers are resolved.

No longer blocks: quantumbar-release
Blocks: quantumbar-tests
No longer blocks: quantumbar
Priority: P2 → P5
Points: --- → 2
Blocks: quantumbar-model
No longer blocks: quantumbar-tests
Type: enhancement → task
You need to log in before you can comment on or make changes to this bug.