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

Integration testing for round restart and multiple rounds #4

Merged
merged 12 commits into from
Jul 6, 2021

Conversation

kellpossible
Copy link
Contributor

@kellpossible kellpossible commented Jun 13, 2021

  • Enable testing for changes in Round restart AleoNet/aleo-setup#288, including multiple rounds and having a contributor start part way though a round.
  • Remove redundant command line options.

@apruden2008 apruden2008 added this to the Universal Setup milestone Jun 14, 2021
src/waiter.rs Outdated
/// Listen to messages from `rx`, and remove equivalent message
/// from `expected_messages` until `expected_messages` is empty.
fn listen<S>(
mut expected_messages: Vec<T>,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this could be refactored, I'm thinking of maybe having some kind of generic waiter with an accumulator and closure that runs over it, and this listen would just be a preset version of that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The number of contributions waiter for each contributor_starts could perhaps be implemented with this.

@kellpossible kellpossible marked this pull request as ready for review July 2, 2021 18:53
@kellpossible kellpossible mentioned this pull request Jul 2, 2021
7 tasks
environment: development,
round_timout: Some(18000),
timout: Some(18000),
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess it's "time"

@apruden2008 apruden2008 merged commit 2e38eba into main Jul 6, 2021
@apruden2008 apruden2008 deleted the round-restart branch July 6, 2021 18:39
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.

3 participants