Add additional tests #6

Merged
Jade merged 4 commits from s1lv3r/resolvematrix:zoe/add-additional-resolvematrix-tests into main 2026-04-08 11:18:52 +00:00
Contributor
No description provided.
i dont typo things i promise
Returns host:port formatted string of the resolved destination server.
Differs from Resolution::sni_hostname() in that it returns the target server and not the SNI hostname.
@ -955,0 +988,4 @@
#[case::resolvematrix_3c_msc4040("3c.msc4040.s.resolvematrix.dev", "srv.wk.3c.msc4040.s.resolvematrix.dev", 7053)] // Delegated `matrix-fed` SRV
#[case::resolvematrix_4_msc4040("4.msc4040.s.resolvematrix.dev", "srv.4.msc4040.s.resolvematrix.dev", 7054)] // `matrix-fed` SRV
#[tokio::test]
async fn test_resolvematrix(
Owner

These cases seem to overlap with test_server_resolver, might need some cleanup

These cases seem to overlap with test_server_resolver, might need some cleanup
Author
Contributor

Both yes and no; test_server_resolver verifies that we can connect and resolve a version, the new one i've now written ensures that the returned hosts match what is expected according to the resolvematrix website.

Both yes and no; test_server_resolver verifies that we can connect and resolve a version, the new one i've now written ensures that the returned hosts match what is expected according to the [resolvematrix](https://t2bot.io/docs/resolvematrix/) website.
Jade approved these changes 2026-04-08 11:18:46 +00:00
Jade merged commit 40a1beef73 into main 2026-04-08 11:18:52 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/resolvematrix!6
No description provided.