[X] This is actually a flaky test already present in the code and not caused by your PR.
Context
Migration tests use Hspec.it rather than the default retrying it
This might be a very real problem (occasional err500) which despite not being related to migrations shows up here
Job name
cardano-wallet:integration
Test case name(s)
MIGRATE
Error message
src/Test/Integration/Scenario/API/Shelley/Migrations.hs:889:19:
1) API Specifications, SHELLEY_MIGRATIONS, SHELLEY_MIGRATE_08 - It's possible to migrate a wallet with many small ada quantities, provided that the total balance is significantly greater than the minimum ada quantity for an output.
From the following response: Left
( DecodeFailure "Something went wrong" "Error in $: Failed reading: not a valid json value at 'Somethingwentwrong'" )
While verifying value:
( Status
{ statusCode = 500
, statusMessage = "Internal Server Error"
}
, Left
( DecodeFailure "Something went wrong" "Error in $: Failed reading: not a valid json value at 'Somethingwentwrong'" )
)
expected: Status {
statusCode = 202,
statusMessage = "Accepted"
}
but got: Status {
statusCode = 500,
statusMessage = "Internal Server Error"
}
To rerun use: --match "/API Specifications/SHELLEY_MIGRATIONS/SHELLEY_MIGRATE_08 - It's possible to migrate a wallet with many small ada quantities, provided that the total balance is significantly greater than the minimum ada quantity for an output./"
src/Test/Integration/Framework/DSL.hs:1206:21:
2) API Specifications, SHELLEY_MIGRATIONS, SHELLEY_MIGRATE_09 - Can migrate a wallet that has rewards.
Waited longer than 90s to resolve action: "waitForNextEpoch: goes to next epoch". Error condition: Just getFromResponse failed to get item
CallStack (from HasCallStack):
error, called at src/Test/Integration/Framework/DSL.hs:2114:16 in cardano-wallet-core-integration-2022.8.16-6kea9TG0O42J3u3MTFlmNy:Test.Integration.Framework.DSL
getFromResponse, called at src/Test/Integration/Framework/DSL.hs:1051:14 in cardano-wallet-core-integration-2022.8.16-6kea9TG0O42J3u3MTFlmNy:Test.Integration.Framework.DSL
To rerun use: --match "/API Specifications/SHELLEY_MIGRATIONS/SHELLEY_MIGRATE_09 - Can migrate a wallet that has rewards./"
Please ensure:
Context
Hspec.it
rather than the default retryingit
Job name
cardano-wallet:integration
Test case name(s)
MIGRATE
Error message
Build link
https://github.com/input-output-hk/cardano-wallet/pull/3437#issuecomment-1216399830