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: add checks and increase timeout #3928

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

albert-llimos
Copy link
Contributor

@albert-llimos albert-llimos commented Aug 30, 2023

Checklist

Please conduct a thorough self-review before opening the PR.

  • I am confident that the code works.
  • I have updated documentation where appropriate.

Summary

  • Add contract swaps checks.
  • CCM swaps are signed and broadcasted separately (not batched). This makes it so both the swapping and the gas_limit test takes long time to execute. For this reason we sometimes see failures in the observeEvent and observeBalance, it times out before the swap has been signed and broadcasted.
  • Timeouts might be a bit excessive now but doesn't change the time that passing tests take and I want to avoid hitting this issue again with future tests.

@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Merging #3928 (b7b6758) into main (4e75d28) will increase coverage by 0%.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main   #3928   +/-   ##
=====================================
  Coverage     71%     71%           
=====================================
  Files        366     366           
  Lines      56773   56773           
  Branches   56773   56773           
=====================================
+ Hits       40534   40536    +2     
+ Misses     14220   14219    -1     
+ Partials    2019    2018    -1     

see 5 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@albert-llimos albert-llimos marked this pull request as ready for review August 31, 2023 06:39
@albert-llimos albert-llimos merged commit c44279b into main Aug 31, 2023
42 checks passed
@albert-llimos albert-llimos deleted the chore/fix-bouncer-flakyness branch August 31, 2023 06:39
syan095 added a commit that referenced this pull request Sep 4, 2023
* origin/main:
  Fix: Correct Select Median Implementation (#3934)
  fix: independent witnessing startup (#3913)
  🍒 cherry-pick: changes in release for CI and chainspec (#3933)
  refactor: Re-arrange Chains traits for better composability (#3912)
  fix: log error when we try to transfer *more* than we have fetched (#3930)
  chore: add checks and increase timeout (#3928)
  Add `bind_redeem_address` to CLI (#3908)
  🍒 cherry-pick: add missing prod dockerfiles (#3926)
  chore: skip localnet specific tests in devnet 🤫 (#3919)
  fix: broadcast success should be witnessable after a rotation (#3921)

# Conflicts:
#	state-chain/chains/src/eth/api.rs
#	state-chain/runtime/src/chainflip.rs
syan095 added a commit that referenced this pull request Sep 5, 2023
…on-integration

* origin/main:
  Added CFE setting for logging span lifecycles (#3936)
  fix: only burn flip if non zero (#3932)
  Fix: Correct Select Median Implementation (#3934)
  fix: independent witnessing startup (#3913)
  🍒 cherry-pick: changes in release for CI and chainspec (#3933)
  refactor: Re-arrange Chains traits for better composability (#3912)
  fix: log error when we try to transfer *more* than we have fetched (#3930)
  chore: add checks and increase timeout (#3928)
  Add `bind_redeem_address` to CLI (#3908)
  🍒 cherry-pick: add missing prod dockerfiles (#3926)
  chore: skip localnet specific tests in devnet 🤫 (#3919)
  fix: broadcast success should be witnessable after a rotation (#3921)

# Conflicts:
#	state-chain/cf-integration-tests/src/network.rs
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.

None yet

2 participants