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

[xcm-emulator] Unignore cumulus integration tests #1247

Merged
merged 19 commits into from
Sep 1, 2023

Conversation

gilescope
Copy link
Contributor

@gilescope gilescope commented Aug 29, 2023

The tests send the message sent on ininitalisation so for now adding in an empty block stops the tests from being ignored. (if the CI is happy then I will add in the other tests)

Also some other tests were falling when using runtime-benchmarks feature. Added #[cfg(not(feature = "runtime-benchmarks"))] to prevent them from being run.

@gilescope gilescope added the T10-tests This PR/Issue is related to tests. label Aug 29, 2023
@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-clippy
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3527989

@gilescope gilescope marked this pull request as ready for review September 1, 2023 13:25
Copy link
Contributor

@NachoPal NachoPal left a comment

Choose a reason for hiding this comment

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

Can you add #[cfg(not(feature = "runtime-benchmarks"))] in

#[cfg(test)]
mod tests;

instead of in each particular test? We do not want to run any test when runtime-benchmarks

@NachoPal NachoPal changed the title unignore cumulus integration tests [xcm-emulator] Unignore cumulus integration tests Sep 1, 2023
@gilescope gilescope enabled auto-merge (squash) September 1, 2023 19:27
@gilescope gilescope merged commit dbbfe04 into master Sep 1, 2023
105 of 108 checks passed
@gilescope gilescope deleted the giles-unignore-tests branch September 1, 2023 20:15
ordian added a commit that referenced this pull request Sep 7, 2023
* master: (25 commits)
  Markdown linter (#1309)
  Update `fmt` file and some authors (#1379)
  Bump the known_good_semver group with 1 update (#1375)
  Bump proc-macro-warning from 0.4.1 to 0.4.2 (#1376)
  feat: add futures api to `TransactionPool` (#1348)
  Ensure cumulus/bridges is ignored by formatter and run it (#1369)
  substrate: chain-spec paths corrected in zombienet tests (#1362)
  contracts: Update to wasmi 0.31 (#1350)
  [improve docs]: Template pallet (#1280)
  [xcm-emulator] Unignore cumulus integration tests (#1247)
  Fix wrong ref counting (#1358)
  Use cached session index to obtain executor params (#1190)
  fix typos (#1339)
  Use bandersnatch-vrfs with locked dependencies ref (#1342)
  Bump bs58 from 0.4.0 to 0.5.0 (#1293)
  Contracts: `seal0::balance` should return the free balance (#1254)
  Logs: add extra debug log for negative rep changes (#1205)
  Added short-benchmarks for cumulus (#1183)
  [xcm-emulator] Improve hygiene and clean up (#1301)
  Bump the known_good_semver group with 1 update (#1347)
  ...
Daanvdplas pushed a commit that referenced this pull request Sep 11, 2023
* tests should not be run with runtime-benchmarks feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T10-tests This PR/Issue is related to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants