-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
147 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Feature: Upgrade Protocol Cancel | ||
# Feature: Upgrade Protocol Cancel | ||
|
||
Scenario: User Successfully Cancels a Scheduled Upgrade using CLI | ||
Given the user is an ACL Owner | ||
And the specified upgrade is scheduled and not yet activated | ||
When the user runs the command "gov cancel_upgrade" | ||
Then the system should cancel the scheduled upgrade | ||
When user runs the command "gov query upgrade" | ||
Then the system should return the successful cancellation status | ||
# Scenario: User Successfully Cancels a Scheduled Upgrade using CLI | ||
# Given the user is an ACL Owner | ||
# And the specified upgrade is scheduled and not yet activated | ||
# When the user runs the command "gov cancel_upgrade" | ||
# Then the system should cancel the scheduled upgrade | ||
# When user runs the command "gov query upgrade" | ||
# Then the system should return the successful cancellation status | ||
|
||
Scenario: User Attempts to Cancel a Past Upgrade using CLI | ||
Given the user is an ACL Owner | ||
And the user has a cancel upgrade command for a past version | ||
When the user runs the command "gov cancel_upgrade" | ||
Then the system should validate the command | ||
And the system should reject the command as it cannot cancel a past upgrade | ||
# Scenario: User Attempts to Cancel a Past Upgrade using CLI | ||
# Given the user is an ACL Owner | ||
# And the user has a cancel upgrade command for a past version | ||
# When the user runs the command "gov cancel_upgrade" | ||
# Then the system should validate the command | ||
# And the system should reject the command as it cannot cancel a past upgrade |