Skip to content

test(sns): Migrate upgrade qualification tests to AdvanceSnsTargetVersion#2981

Merged
anchpop merged 1 commit intomasterfrom
@anchpop/new-qualification-tests
Dec 11, 2024
Merged

test(sns): Migrate upgrade qualification tests to AdvanceSnsTargetVersion#2981
anchpop merged 1 commit intomasterfrom
@anchpop/new-qualification-tests

Conversation

@anchpop
Copy link
Contributor

@anchpop anchpop commented Dec 4, 2024

The upgrade tests are implemented by calling test_sns_upgrade. This PR changes that function to use the new mechanism rather than the old. I don't think it's necessary to retain test coverage for the old mechanism.

NNS1-3441

@github-actions github-actions bot added the test label Dec 4, 2024
@anchpop anchpop force-pushed the @anchpop/new-qualification-tests branch 3 times, most recently from cc3a379 to 1f2bca4 Compare December 10, 2024 05:23
@anchpop anchpop changed the title test(sns): MIgrate qualification tests to AdvanceSnsTargetVersion test(sns): MIgrate upgrade qualification tests to AdvanceSnsTargetVersion Dec 10, 2024
@anchpop anchpop marked this pull request as ready for review December 10, 2024 05:27
@anchpop anchpop requested a review from a team as a code owner December 10, 2024 05:27
@aterga
Copy link
Contributor

aterga commented Dec 10, 2024

Didn't we agree to keep the old tests in addition to adding the new ones? I don't see any new bazel targets.

@anchpop anchpop changed the title test(sns): MIgrate upgrade qualification tests to AdvanceSnsTargetVersion test(sns): Migrate upgrade qualification tests to AdvanceSnsTargetVersion Dec 10, 2024
@anchpop anchpop force-pushed the @anchpop/new-qualification-tests branch 2 times, most recently from addbf52 to 72ac576 Compare December 11, 2024 00:49
@anchpop anchpop force-pushed the @anchpop/new-qualification-tests branch from 72ac576 to 4fc280c Compare December 11, 2024 00:56
@anchpop anchpop enabled auto-merge December 11, 2024 01:02
@anchpop anchpop added this pull request to the merge queue Dec 11, 2024
Merged via the queue into master with commit e6a516e Dec 11, 2024
24 checks passed
@anchpop anchpop deleted the @anchpop/new-qualification-tests branch December 11, 2024 01:28
github-merge-queue bot pushed a commit that referenced this pull request Dec 11, 2024
This was disabled until we updated SNS Gov on mainnet (as previously SNS
Swap did not upgrade).

Closes [NNS1-3433](https://dfinity.atlassian.net/browse/NNS1-3433)

#2981 already did this for the legacy (UpgradeSnsToNextVersion) upgrade
qualifications, this PR does it for AvanceSnsTargetVersion upgrade
qualifications as well.

[NNS1-3433]:
https://dfinity.atlassian.net/browse/NNS1-3433?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

Note: This PR also cleans up a comment in
`sns_release_qualification_legacy.rs`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants