The test expects that the temporary file is deleted. However, the relevant waiting mechanism seems to be: content::RunAllPendingInMessageLoop(content::BrowserThread::IO);
I don't think that guarantees the completion of the task, does it?
One option I can think of is to create the task runner in the constructor, and expose it for tests to wait. I hope there's a better option to wait, though.
treib via monorail
unread,
Sep 19, 2019, 7:55:37 AM9/19/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message