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

Fixed mock IPv6 address generation #1256

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

qstokkink
Copy link
Collaborator

Fixes #1238
Fixes #1243

This PR:

  • Fixes AutoMockEndpoint._generate_address generating IPv6 addresses that do not work with our test setup.
  • Updates the validation tests to also run tests with IPv6.

@qstokkink
Copy link
Collaborator Author

validate

@qstokkink qstokkink changed the title WIP: Fixed mock IPv6 address generation READY: Fixed mock IPv6 address generation Jan 10, 2024
@qstokkink qstokkink marked this pull request as ready for review January 10, 2024 12:35
@qstokkink qstokkink changed the title READY: Fixed mock IPv6 address generation Fixed mock IPv6 address generation Jan 10, 2024
@qstokkink qstokkink merged commit d51ea1e into Tribler:master Jan 10, 2024
7 checks passed
@qstokkink qstokkink deleted the fix_mock_ipv6addr_gen branch January 10, 2024 13:20
@qstokkink
Copy link
Collaborator Author

validate

@qstokkink
Copy link
Collaborator Author

Seems to work correctly: https://github.com/Tribler/py-ipv8/actions/runs/7475823148

In the first pass tests are run that - in the second pass - report being skipped: test_blacklist (ipv8.test.bootstrapping.dispersy.test_bootstrapper.TestDispersyBootstrapper) ... skipped 'IPv6 not supported' etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Errors in unit tests when running with IPv6 enabled Run the validation action with IPv6 endpoints
2 participants