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

More robust smoke.rs #2334

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

More robust smoke.rs #2334

wants to merge 2 commits into from

Conversation

tbro
Copy link
Contributor

@tbro tbro commented Nov 26, 2024

Addresses #2140

This PR:

Makes smoke.rs more robust by removing explicit loop from smoke.rs in favor of block stream listener. Previously we relied on time based assertions by sleeping w/in a loop. This is error prone because we never really know when a block will be produced. By subscribing to block stream, we can do any assertions when we receive a new header. This should rule out many timing issues.

In addition this PR:

  • add fn subscribe_blocks to client
  • add some fail cases to process-compose.yml

Remove explicit loop from smoke.rs in favor of block stream listener.

  * add `fn subscribe_blocks` to client
  * add some fail cases to process-compose.yml
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.

1 participant