Closed Bug 1939704 Opened 2 months ago Closed 2 days ago

Intermittent comm/mail/base/test/browser/browser_threadTreeSelection.js | selected indices should be restored - [0] deepEqual [1,4,5,7,9,11,13,15,17] -

Categories

(Thunderbird :: Folder and Message Lists, defect, P5)

Tracking

(Not tracked)

RESOLVED FIXED
137 Branch

People

(Reporter: intermittent-bug-filer, Assigned: TbSync)

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(3 files)

Depends on: 1903910

FWIW, locally this fails easily with ./mach test --headless --verify comm/mail/base/test/browser/browser_threadTreeSelection.js
Tried waiting for the selection to be correct, but it never becomes correct.

Assignee: nobody → h.w.forms
Status: NEW → ASSIGNED
Keywords: leave-open
Pushed by mkmelin@iki.fi: https://hg.mozilla.org/comm-central/rev/a90464bdd362 Improve cleanup in browser_threadTreeSelection.js test. r=tobyp
Assignee: h.w.forms → nobody
Status: ASSIGNED → NEW
Assignee: nobody → h.w.forms
Status: NEW → ASSIGNED
Target Milestone: --- → 137 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/0069be759f54
Try to fix browser_threadTreeSelection.js. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED

Unfortunately this still happens.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee: h.w.forms → nobody
Target Milestone: 137 Branch → ---

The intermittent is caused by a behavior of virtual folders, when they
load their content from the cache and then realize that some messages no
longer exist: They "delete" them and trigger the selectedMessagesRemoved()
callback.

This patch aims to fix the intermittent and early exits the said
callback for virtual folders still being loaded.

This patch also applies the changes of D238368 to the second
switchFolder() function in the test.

Assignee: nobody → john
Target Milestone: --- → 137 Branch

Pushed by john@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ead1a79726f0
Ignore selectedMessageRemoved() triggered by virtual folders on cache-restore. r=darktrojan,arschmitz

Status: REOPENED → RESOLVED
Closed: 6 days ago2 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: