Skip to content

Migrated many e2e tests to integration tests#2933

Merged
tzemanovic merged 11 commits intomainfrom
bat/feat/migrate-e2e-to-int
Apr 12, 2024
Merged

Migrated many e2e tests to integration tests#2933
tzemanovic merged 11 commits intomainfrom
bat/feat/migrate-e2e-to-int

Conversation

@batconjurer
Copy link
Copy Markdown
Collaborator

Describe your changes

Closes #2661
Closes #2927
This PR moves many e2e tests over to integration test. In the future, it may be possible to move more tests over. Moving some of these tests over revealed issues and these have also been resolved, including #2927.

Indicate on which release or other PRs this topic is based on

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@batconjurer batconjurer force-pushed the bat/feat/migrate-e2e-to-int branch from d12880c to a0c27de Compare March 21, 2024 10:05
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 21, 2024

Codecov Report

Attention: Patch coverage is 44.44444% with 30 lines in your changes are missing coverage. Please review.

Project coverage is 61.27%. Comparing base (61a0759) to head (2468321).
Report is 5 commits behind head on main.

Files Patch % Lines
...es/apps/src/lib/node/ledger/shell/testing/utils.rs 0.00% 14 Missing ⚠️
...tes/apps/src/lib/node/ledger/shell/testing/node.rs 0.00% 13 Missing ⚠️
crates/apps/src/lib/node/ledger/shell/mod.rs 91.66% 2 Missing ⚠️
crates/apps/src/lib/node/ledger/mod.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2933      +/-   ##
==========================================
+ Coverage   53.44%   61.27%   +7.82%     
==========================================
  Files         310      290      -20     
  Lines      101574    88584   -12990     
==========================================
- Hits        54288    54280       -8     
+ Misses      47286    34304   -12982     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

tzemanovic added a commit that referenced this pull request Apr 4, 2024
* origin/bat/feat/migrate-e2e-to-int:
  Formatting
  Formatting
  Putting duct tape over a mysterious race condition in integrations tests
  Added logging to MockNode for when broadcasting a tx fails
  Added logging to MockNode for when broadcasting a tx fails
  Rebuilding tests wasms, updating gitflows
  [fix]: Fixing broken unit test
  formatting
  Rebasinga and adding changelog
  [feat]: Migrated many e2e test to integration tests
@brentstone
Copy link
Copy Markdown
Collaborator

To consider for future related work: how difficult is it to set up these integration tests with multiple validators?

brentstone
brentstone previously approved these changes Apr 6, 2024
@batconjurer
Copy link
Copy Markdown
Collaborator Author

To consider for future related work: how difficult is it to set up these integration tests with multiple validators?

It's not obvious to me how to do it. I suspect it is hard.

Co-authored-by: Tomas Zemanovic <tomas@heliax.dev>
tzemanovic added a commit that referenced this pull request Apr 10, 2024
* origin/bat/feat/migrate-e2e-to-int:
  Update .changelog/unreleased/improvements/2933-migrated-e2e-to-int.md
  Formatting
  Formatting
  Putting duct tape over a mysterious race condition in integrations tests
  Added logging to MockNode for when broadcasting a tx fails
  Added logging to MockNode for when broadcasting a tx fails
  Rebuilding tests wasms, updating gitflows
  [fix]: Fixing broken unit test
  formatting
  Rebasinga and adding changelog
  [feat]: Migrated many e2e test to integration tests

# Conflicts:
#	crates/apps/src/lib/node/ledger/shell/governance.rs
#	crates/apps/src/lib/node/ledger/shell/testing/node.rs
#	crates/tests/src/e2e/ledger_tests.rs
@tzemanovic tzemanovic merged commit df9db29 into main Apr 12, 2024
@tzemanovic tzemanovic deleted the bat/feat/migrate-e2e-to-int branch April 12, 2024 10:22
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.

Residual PoS inflation to PGF Convert e2e tests to integration tests

3 participants