Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

fix flaky chain-selection tests #3948

Merged
1 commit merged into from
Sep 28, 2021
Merged

fix flaky chain-selection tests #3948

1 commit merged into from
Sep 28, 2021

Conversation

rphmeier
Copy link
Contributor

Fixes #3947

The chain-selection tests are based around waiting for write calls to the in-memory backend before checking the state. Empty writes were triggering the oneshot waiters and the tests weren't actually waiting for the subsystem to process messages before checking the effects.

@rphmeier rphmeier added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. labels Sep 27, 2021
@rphmeier
Copy link
Contributor Author

(will retry CI a few times to make sure it worked)

@ordian
Copy link
Member

ordian commented Sep 28, 2021

bot merge

@ghost
Copy link

ghost commented Sep 28, 2021

Waiting for commit status.

@ghost ghost merged commit fdf3dfd into master Sep 28, 2021
@ghost ghost deleted the rh-chain-selection-tests branch September 28, 2021 08:43
ordian added a commit that referenced this pull request Sep 29, 2021
* master:
  feat: measured oneshots (#3902)
  remove `AllSubsystems` and `AllSubsystemsGen` types (#3874)
  Companion for Substrate#9867 (#3938)
  Substrate Companion for #9552 (#3834)
  CI: run disputes tests (#3962)
  Bump parity-scale-codec from 2.3.0 to 2.3.1 (#3959)
  approval-voting: populate session cache in advance (#3954)
  Bump libc from 0.2.102 to 0.2.103 (#3950)
  fix master (#3955)
  Docker files chore (#3880)
  Bump nix from 0.19.1 to 0.20.0 (#3587)
  remove connected disconnected state, 3rd attempt (#3898)
  fix flaky chain-selection tests (#3948)
  Add benchmarking for parachain runtime initializer pallet (#3913)
  minor chore changes (#3944)
  disputes: reject single-sided disputes (#3903)
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky test approval_undoes_stagnant_unlocking_subtree
4 participants