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

ci: Added tests to provider-consumer suite #2456

Merged
merged 7 commits into from
Jan 9, 2025

Conversation

stana-miric
Copy link
Collaborator

@stana-miric stana-miric commented Dec 30, 2024

This pr implements testing of the basic consumer chain functionalities from an ICS perspective:

  • consumer launch (launch chain on one validator, get the genesis from the provider, test that a simple transaction to the consumer will fail as the CCV channel is not yet established...) ->tested in setup
  • CCV channel creation & validator updates (delegate on provider and confirm changes on consumer, query consumer...)
  • Rewards distribution (TestRewards)->tested in setup
  • Changeover procedure (TestSovereignToConsumerChangeover)

note: jailing and slashing should be also tested (probably in separate test suite(and pr) to avoid entanglements with regular cases)
#2400 should be merged before this one and after that we can change the base branch to main

@stana-miric stana-miric self-assigned this Dec 30, 2024
tests/interchain/chainsuite/chain_spec_consumer.go Dismissed Show resolved Hide resolved
tests/interchain/chainsuite/chain_spec_consumer.go Dismissed Show resolved Hide resolved
tests/interchain/provider_consumers_suite.go Dismissed Show resolved Hide resolved
@github-actions github-actions bot added C:Testing Assigned automatically by the PR labeler C:Build Assigned automatically by the PR labeler labels Dec 30, 2024
Base automatically changed from marius/894-preccv to main January 7, 2025 16:53
@stana-miric stana-miric force-pushed the smiric/consumer-interchain-tests branch from c6e81b7 to a92ba9a Compare January 8, 2025 11:37
@stana-miric stana-miric marked this pull request as ready for review January 8, 2025 12:06
@stana-miric stana-miric requested review from a team as code owners January 8, 2025 12:06
@github-actions github-actions bot added the C:CI Assigned automatically by the PR labeler label Jan 8, 2025
Copy link
Contributor

@MSalopek MSalopek left a comment

Choose a reason for hiding this comment

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

Approve. Left nits about naming.

tests/interchain/provider_consumers_suite.go Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@stana-miric stana-miric changed the title ci: Added infraction tests to provider-consumer suite ci: Added tests to provider-consumer suite Jan 8, 2025
@mpoke mpoke merged commit 56d788c into main Jan 9, 2025
17 of 20 checks passed
@mpoke mpoke deleted the smiric/consumer-interchain-tests branch January 9, 2025 09:02
mergify bot pushed a commit that referenced this pull request Jan 9, 2025
* Add provider-consumer interchain tests

* remove interchain framework logs - leave only status

* add description how to run single interchain test

* triger interchain tests

* triger interchain tests

* remove log filtering

* set preccv to true for changeover genesis

(cherry picked from commit 56d788c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:backport/v6.4.x C:Build Assigned automatically by the PR labeler C:CI Assigned automatically by the PR labeler C:Testing Assigned automatically by the PR labeler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants