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

test: add e2e test using multicast #735

Open
wants to merge 4 commits into
base: feat-multicast
Choose a base branch
from

Conversation

arkadiuszos4chain
Copy link
Collaborator

@arkadiuszos4chain arkadiuszos4chain commented Dec 31, 2024

Description of Changes

E2E Tests for Multicast-Based Communication

Summary

This pull request adds the capability to run end-to-end (E2E) tests using a new communication method with the blockchain, which leverages multicast groups.

Key Updates

  • Sidecar App
    Implemented a sidecar application that serves as a bridge between P2P node communication and multicast groups (source cmd\mcast\node_sidecar).

  • Docker-Compose Integration
    Added a new docker-compose-mcast.yaml file to facilitate the test environment setup.

  • Makefile Command
    Introduced a new command to execute the tests:

    make run_e2e_mcast_tests
    
  • IPv6 Configuration Requirement
    Users must ensure Docker is configured to support IPv6 networking for proper test execution.

| Note: Tests for submitting chained transactions are omitted, as they are not compatible with the multicast communication method.

Linked Issues / Tickets

Reference any related issues or tickets, e.g. "Closes #123".

Testing Procedure

Describe the tests you've added or any testing steps you've taken.

  • I have added new unit tests
  • All tests pass locally
  • I have tested manually in my local environment

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have updated CHANGELOG.md with my changes

docker-compose-mcast.yaml Fixed Show fixed Hide fixed
docker-compose-mcast.yaml Fixed Show fixed Hide fixed
docker-compose-mcast.yaml Fixed Show fixed Hide fixed
@arkadiuszos4chain arkadiuszos4chain force-pushed the test-multicast branch 2 times, most recently from f0d3ae8 to 15a5b2a Compare December 31, 2024 10:09
@arkadiuszos4chain arkadiuszos4chain marked this pull request as ready for review December 31, 2024 10:14
@arkadiuszos4chain arkadiuszos4chain self-assigned this Dec 31, 2024
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