Skip to content

Fix XDM tests which occasionally timeout in CI #3562

@teor2345

Description

@teor2345

Two tests hung on macOS:

SLOW [>5820.000s] domain-client-operator tests::test_xdm_channel_allowlist_removed_after_xdm_resp_relaying
SLOW [>5820.000s] domain-client-operator tests::test_xdm_false_invalid_fraud_proof

Would be nice for someone to dedicate time to fix these flaky tests, they fail way too often for my liking.

Originally posted by @nazar-pc in #3561 (comment)

This seems to be happening more often after the 2025-05-31 nightly compiler update and 2024 edition update in PR #3535. (We don't know which one caused it, because the updates were combined into a single PR.)

Possible Causes

  • XDM relayer state
  • peer bans, caused by multiple block requests, caused by request timeouts or slow block processing, caused by heavy CPU load from concurrent tests

See these comments for a discussion of the possible causes:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnice-to-haveNon-critical but nice to havetestsTest failures, instability, and missing tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions