-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new
cardano-wallet-integration:e2e
tests running on preprod (#4949
) - [x] Add a new `cardano-wallet-integration:e2e` test suite that: - has, and intends to have, a minimal number of tests. It does not want to duplicate everything from `cardano-wallet-integration`. - mostly uses the same `Test.Integration.Framework.DSL` the integration tests are written in - is replacing `lib/wallet-e2e` and is intended to soon replace the ruby e2e tests - [x] Run this `cardano-wallet-integration:e2e` in CI on windows - [new run which hopefully passes like the prev one](https://buildkite.com/cardano-foundation/cardano-wallet/builds/9261#0194d089-3ef3-4f12-85ac-ad68f5a5f0b7) and should now make the stages of the setup appear as sections in the buildkite logs - [x] No longer run ruby e2e tests on win ### Global preprod setup We use only two wallets that are funded with ada. The transaction test will send funds from the richer to the poorer wallet. This should reduce the need for manual involvement as the funds last longer, and in a pinch we could even get by funding just one of the test wallets. ### How to run ```bash export HAL_E2E_PREPROD_MNEMONICS='<mnemonics be found in our vault>' cabal test cardano-wallet-integration:e2e ``` With node and wallet stdout logs manually cleaned: ```bash transactions simple transaction (TRANS_CREATE_01x) [✔] stake pools list some have non-zero rewards, stake, producedBlocks, saturation [✔] some have metadata [‐] # PENDING: metadata fetching not configured; could be enabled ``` ### Issue Number #4931
- Loading branch information
Showing
68 changed files
with
791 additions
and
2,611 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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Pin line endings for genesis files. | ||
# | ||
# Genesis files are | ||
# * human-readable text data | ||
# * but they also have a hash. | ||
# | ||
# `cardano-node` is sensitive to the line endings in the genesis file. | ||
# | ||
**/*.json text eol=lf |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
rm ./*.json | ||
curl https://book.play.dev.cardano.org/environments-pre/preprod/config.json > config.json | ||
curl https://book.play.dev.cardano.org/environments-pre/preprod/conway-genesis.json > conway-genesis.json | ||
curl https://book.play.dev.cardano.org/environments-pre/preprod/topology.json > topology.json | ||
curl https://book.play.dev.cardano.org/environments-pre/preprod/byron-genesis.json > byron-genesis.json | ||
curl https://book.play.dev.cardano.org/environments-pre/preprod/shelley-genesis.json > shelley-genesis.json | ||
curl https://book.play.dev.cardano.org/environments-pre/preprod/alonzo-genesis.json > alonzo-genesis.json |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"bootstrapPeers": [ | ||
{ | ||
"address": "preprod-node.play.dev.cardano.org", | ||
"port": 3001 | ||
} | ||
], | ||
"localRoots": [ | ||
{ | ||
"accessPoints": [], | ||
"advertise": false, | ||
"trustable": false, | ||
"valency": 1 | ||
} | ||
], | ||
"publicRoots": [ | ||
{ | ||
"accessPoints": [], | ||
"advertise": false | ||
} | ||
], | ||
"useLedgerAfterSlot": 64454371 | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
for dir in preprod; do | ||
(cd "$dir" && ./download.sh) | ||
done |
Oops, something went wrong.