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 for broadcast based on callbacks instead of timeouts #797

Merged
merged 2 commits into from
Apr 12, 2021

Conversation

nikkolasg
Copy link
Collaborator

Tests were always passing locally on my machine but apparently not on Travis - I switched to having tests based on callbacks so travis weird timings doesn't influence test outcome.

// by drand to both (1) be the interface between drand and the dkg logic and (2)
// implement the broadcasting mechanisn.
type Broadcast interface {
dkg.Board
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this makes for a very 'wide' interface. is it possible to have a GetBoard() method in the interface that returns a dkg.Board rather than saying that as Broadcast is a Board?

@willscott willscott merged commit b79fc75 into master Apr 12, 2021
@willscott willscott deleted the fix/broadcast2 branch April 12, 2021 17:01
@willscott
Copy link
Member

Merging to unbreak tests

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.

None yet

2 participants