test: implemented the interop test with rust libp2p #1143
+426
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
summary
fixes #1142
Implements interoperability tests between
py-libp2pandrust-libp2pusing the/ipfs/ping/1.0.0protocol over TCP transport.What's Included
New Files
tests/interop/rust_libp2p/test_ping_interop.py- Python test that connects to a Rust ping server and validates RTT responsestests/interop/rust_libp2p/conftest.py- Pytest fixtures for building and managing the Rust server lifecycletests/interop/rust_libp2p/rust_node/- Rust ping server implementation usingrust-libp2ptests/interop/rust_libp2p/README.md- Documentation with prerequisites and instructionsTest Coverage
The test verifies:
/ipfs/ping/1.0.0selected via multistream-selectHow to Run
cd tests/interop/rust_libp2p pytest -v -s --log-cli-level=INFOCute Animal Picture