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: additional scenarios for empty sortition tenure extends #5415

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

obycode
Copy link
Contributor

@obycode obycode commented Nov 1, 2024

I see #5411 is also trying to test something similar. I will take a look to see if we are overlapping. I was also not able to reproduce any incorrect behavior here yet.

@obycode obycode requested review from a team as code owners November 1, 2024 20:02
.build_next_block(2);

// Sleep to ensure the signers see both burn blocks
sleep_ms(5_000);
Copy link
Member

Choose a reason for hiding this comment

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

Can you use wait_for() here, and poll /v2/info?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I can do that, but I think there should still be some additional sleep after /v2/info shows these blocks, since we want to ensure that the signer has processed the new burn blocks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added in 693b5da.

@obycode obycode requested a review from jcnelson November 2, 2024 21:57
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.

2 participants