-
Notifications
You must be signed in to change notification settings - Fork 668
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
base: develop
Are you sure you want to change the base?
Conversation
.build_next_block(2); | ||
|
||
// Sleep to ensure the signers see both burn blocks | ||
sleep_ms(5_000); |
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.
Can you use wait_for()
here, and poll /v2/info
?
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.
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.
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.
Added in 693b5da.
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.