-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test test_verified_group_vs_delete_server_after
is flaky
#5201
Comments
It happened also to me a couple of times, but i didn't understand the reason. In the log it looks like |
Maybe this message is delayed and arrives later? |
Apparently it arrives immediately, but we still have some race in IMAP handling: |
As far as i can tell from the log, there's a race in |
Recent log:
|
ac2 expunges messages from INBOX, then goes IDLE but does not notice "member added" message which should be there:
|
The problem is likely that message arrives while the folder is closed and we don't notice that message arrived when we Here we call deltachat-core-rust/src/scheduler.rs Line 590 in 48b4cfc
It removes previous message and closes folder to expunge it: deltachat-core-rust/src/imap.rs Lines 1061 to 1065 in 48b4cfc
After we close the inbox, message may arrive into it. Then we likely skip scanning folders and call deltachat-core-rust/src/imap.rs Lines 1134 to 1136 in 48b4cfc
Once There is no unsolicited EXISTS because message arrived when the folder was closed and when folder is selected by I have not decided how to fix it yet because we call |
Attached is a log from CI:
flaky-test.txt
Maybe similar issue to #5191 but better understand what exactly happened.
The text was updated successfully, but these errors were encountered: