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

Fix code duplication in tests #1575

Merged
merged 6 commits into from
Sep 14, 2023
Merged

Fix code duplication in tests #1575

merged 6 commits into from
Sep 14, 2023

Conversation

tdimitrov
Copy link
Contributor

The PR contains two changes:

  • Extract some duplicated code from backing tests as functions.
  • Move validator_pubkeys to test helpers

polkadot/node/core/backing/src/tests/mod.rs Outdated Show resolved Hide resolved
polkadot/node/core/backing/src/tests/mod.rs Outdated Show resolved Hide resolved
Copy link
Member

@eskimor eskimor left a comment

Choose a reason for hiding this comment

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

Nice. Approving module Andronik's nits.

@tdimitrov tdimitrov merged commit d81a2e2 into master Sep 14, 2023
109 of 111 checks passed
@tdimitrov tdimitrov deleted the tsv-tests-refactoring branch September 14, 2023 19:49
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Mar 26, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Mar 27, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 8, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 9, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 10, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
serban300 pushed a commit to serban300/polkadot-sdk that referenced this pull request Apr 10, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
bkchr pushed a commit that referenced this pull request Apr 10, 2024
* use transaction tracker in parachains relay

* actually return tx tracker from target client implementation
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.

3 participants