Skip to content

Conversation

teor2345
Copy link
Member

Some of our tests use entirely mocked test data, without connecting to any subspace node.

Very rarely, a test will hang, and CI will timeout and fail:
https://github.com/autonomys/subspace-chain-alerts/actions/runs/17973082992/job/51120146299?pr=47#step:4:733

The first step in diagnosing this bug is removing unnecessary code from those tests.

This also speeds up test runs, and reduces the load our tests cause to public RPC servers.

@teor2345 teor2345 self-assigned this Sep 24, 2025
@teor2345 teor2345 added the bug Something isn't working label Sep 24, 2025
@teor2345 teor2345 changed the title Avoid test hangs by removing Avoid test hangs by removing RPC connections from tests that don't use them Sep 24, 2025
@teor2345 teor2345 enabled auto-merge September 24, 2025 10:38
@teor2345 teor2345 added this pull request to the merge queue Sep 24, 2025
Merged via the queue into main with commit f8734ae Sep 24, 2025
19 checks passed
@teor2345 teor2345 deleted the simplify-tests branch September 24, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant