Skip to content

test: Test that messages are only marked as delivered after being fully sent out#8077

Merged
Hocuri merged 2 commits intomainfrom
hoc/add-checkmark-later-test
Apr 5, 2026
Merged

test: Test that messages are only marked as delivered after being fully sent out#8077
Hocuri merged 2 commits intomainfrom
hoc/add-checkmark-later-test

Conversation

@Hocuri
Copy link
Copy Markdown
Collaborator

@Hocuri Hocuri commented Apr 2, 2026

Test for #8062. I checked that the test fails without #8062.

@Hocuri Hocuri requested a review from link2xt April 2, 2026 13:16
Comment thread src/receive_imf/receive_imf_tests.rs Outdated
alice
.sql
.query_row_optional(
r#"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for r# here, there are no quotes inside the query.

Comment thread src/receive_imf/receive_imf_tests.rs Outdated
.sql
.query_row_optional(
r#"
SELECT id, msg_id, mime, recipients
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You select id and recipients, but then don't actually use them.

Query can be SELECT msg_id, mime FROM smtp ORDER BY id.

@Hocuri Hocuri enabled auto-merge (squash) April 5, 2026 20:13
@Hocuri Hocuri merged commit 7233b4b into main Apr 5, 2026
29 of 30 checks passed
@Hocuri Hocuri deleted the hoc/add-checkmark-later-test branch April 5, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants