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

chore(composer): add missing blackbox tests #1834

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

Conversation

ethanoroshiba
Copy link
Contributor

Summary

Added blackbox tests to cover whitebox tests which were removed in #1643.

Background

Tests were removed in #1643 because the internal tests were very whitebox-y and fragile. They have not yet been added back as blackbox tests.

Changes

  • Added 3 new blackbox tests to cover bundle_triggered_by_block_timer, two_seq_actions_single_bundle, and chain_id_mismatch_returns_error.
  • Removed old internal tests.

Testing

Passing all tests

Changelogs

No updates required.

Related Issues

closes #1652

@github-actions github-actions bot added the composer pertaining to composer label Nov 22, 2024
@ethanoroshiba ethanoroshiba marked this pull request as ready for review November 22, 2024 16:47
@ethanoroshiba ethanoroshiba requested a review from a team as a code owner November 22, 2024 16:47
})
.await
.unwrap();
time::timeout(Duration::from_millis(1000), async {
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 sometimes times out, even when increasing the timeout time. Unsure as to if this is a problem with the test or something flaky about composer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
composer pertaining to composer testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add black box tests to composer to cover deleted internal tests
1 participant