Closed Bug 1757250 Opened 3 years ago Closed 3 years ago

test_preloader_telemetry.py times out if it hits an OSError

Categories

(Core :: XPConnect, task, P3)

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(1 file)

The patch in bug 1724509 changes cache invalidation behavior. This causes test_preloader_telemetry.py to time out, because in wait_for_file_change if the file doesn't exist, then the call to os.stat() throws, and we never run the code to check if the timeout has expired, nor the sleep. The fix is to just hoist those outside of the try except block. Then with bug 1724509 the test at least fails in a reasonable amount of time.

It looks like this telemetry is due to expire, so maybe the test will get removed.

See Also: → 1754639
Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/50f45bf25835 Don't skip the time out check in test_preloader_telemetry.py on an OSError. r=dthayer
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: