-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore: add more tests for discovery #39
Conversation
|
||
const keyPair = createCoreKeyPair('stress test') | ||
|
||
const instances = Array(20) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
out of curiousity I tried increasing this number and after about 75 the tests will start to hang without showing errors. not a blocker at all just kinda interesting!
we might want to explore whether that's a network limitation or a number of mdns/dht servers on a device limitation, but that's outside the scope of this pr. I think 20 is a good number for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is great! i added one note that we might decide to make an issue for but i think this is ready to merge. if we come up with other discovery tests i think we can make issues for those as we think of them.
Closes #18. May add more to this but can iterate later on too.
Adds tests for: