Skip to content
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

Remove feature gating from test_p2p unit test #42

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

tcharding
Copy link
Member

@tcharding tcharding commented Jan 21, 2025

This test works for 28_0. It does not need feature gating out.

The reason this was done is because it cannot be run in parallel with test_multi_p2p. We can leave that one feature guarded out in v28 builds.

The underlying issue is a problem with how Bitcoin Core binds to ports and is tracked in #41

@apoelstra
Copy link
Member

It looks like we need to update our Cargo.toml to fix the "unknown cfg parameter" lint, which is now many months old.

I don't think I'll be able to run my local CI on these things without it (and a new clippy run).

Can we do that first?

@tcharding
Copy link
Member Author

Yes definitely. I saw this was red yesterday but was lazy, sorry for taking your time while you looked.

@tcharding tcharding marked this pull request as draft January 22, 2025 01:13
@tcharding
Copy link
Member Author

Strange that a v17 unit test failed. I re-ran the test.

This test works for `28_0`. It does not need feature gating out.

The reason this was done is because it cannot be run in parallel with
`test_multi_p2p`. We can leave that one feature guarded out in v28
builds.

The underlying issue is a problem with how Bitcoin Core binds to ports
and is tracked in rust-bitcoin#41
@tcharding tcharding marked this pull request as ready for review January 23, 2025 00:08
@tcharding
Copy link
Member Author

I'm going to no-ack merge this, it only removes feature gating from test code and is needed by #45.

@tcharding tcharding merged commit 3b50d82 into rust-bitcoin:master Jan 23, 2025
27 checks passed
@tcharding tcharding deleted the 01-21-test-p2p branch January 23, 2025 00:36
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.

2 participants