-
Notifications
You must be signed in to change notification settings - Fork 217
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
Testing maintenance actions #2314
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but need to update swagger schema
updateMetadataSource ctx "direct" | ||
verifyMetadataSource ctx FetchDirect | ||
triggerMaintenanceAction ctx "gc_stake_pools" | ||
eventually "GC Status shows as NotApplicable" $ do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have an eventually
that isn't 90+ seconds. Triggering this should be in the realm of <10s usually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, added eventually with 10s timeout.
…urce is none or direct
afda594
to
e5cce92
Compare
bors r+ |
2314: Testing maintenance actions r=piotr-iohk a=piotr-iohk # Issue Number ADP-478 # Overview - 2bb8359 Move updateMetadataSource and verifyMetadataSource to DSL.hs - 26812b5 Make PostPoolMaintenance to be 204 No Content to comply with swagger - afda594 Integration tests for triggering maintenance action while metadata source is none or direct # Comments First two test from the "proposal" https://jira.iohk.io/browse/ADP-478?focusedCommentId=27784&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-27784 And small fix for [postMaintenanceAction](https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/postMaintenanceAction) to return `204` and no content. Co-authored-by: Piotr Stachyra <[email protected]>
Build failed:
|
bors r+ |
Build succeeded: |
Issue Number
ADP-478
Overview
2bb8359
Move updateMetadataSource and verifyMetadataSource to DSL.hs
26812b5
Make PostPoolMaintenance to be 204 No Content to comply with swagger
afda594
Integration tests for triggering maintenance action while metadata source is none or direct
Comments
First two test from the "proposal" https://jira.iohk.io/browse/ADP-478?focusedCommentId=27784&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-27784
And small fix for postMaintenanceAction to return
204
and no content.