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: remove peer id fixtures #1795

Merged
merged 1 commit into from
Jun 6, 2023
Merged

Conversation

achingbrain
Copy link
Member

The peer id fixtures were introduced when all we had were RSA keys and they were very slow to generate which slowed the tests down.

Now we have Ed25519 keys which are comparitivley fast to generate so just use them.

This fixes some weirdness with timing around browser tests where the relay server thinks it has reservations for peers that are reconnecting due to the tests reusing peer ids.

The peer id fixtures were introduced when all we had were RSA keys and
they were very slow to generate which slowed the tests down.

Now we have Ed25519 keys which are comparitivley fast to generate so
just use them.

This fixes some weirdness with timing around browser tests where the
relay server thinks it has reservations for peers that are reconnecting
due to the tests reusing peer ids.
@achingbrain achingbrain merged commit 8e5df6f into master Jun 6, 2023
@achingbrain achingbrain deleted the fix/remove-peer-id-fixtures branch June 6, 2023 09:25
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.

1 participant