Skip to content

Commit

Permalink
Merge pull request #3590 from input-output-hk/piotr/move-e2e-to-preprod
Browse files Browse the repository at this point in the history
Move e2e tests to preprod
  • Loading branch information
piotr-iohk authored Nov 17, 2022
2 parents 2f69663 + 9ce1811 commit a5fc0eb
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
run: NODE_CONFIG_PATH=`pwd`/state/configs/$NETWORK docker-compose -f docker-compose-test.yml down
env:
TESTS_E2E_FIXTURES: ${{ secrets.TESTS_E2E_FIXTURES }}
NETWORK: ${{ github.event.inputs.network || 'preview' }}
NETWORK: ${{ github.event.inputs.network || 'preprod' }}
WALLET: ${{ github.event.inputs.walletTag || 'dev-master' }}
TESTS_E2E_TOKEN_METADATA: https://metadata.cardano-testnet.iohkdev.io/
NODE_DB_CACHE: ${{ github.event.inputs.node_db_cache || 'GH' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:

env:
TESTS_E2E_FIXTURES: ${{ secrets.TESTS_E2E_FIXTURES }}
NETWORK: ${{ github.event.inputs.network || 'preview' }}
NETWORK: ${{ github.event.inputs.network || 'preprod' }}
PR: ${{ github.event.inputs.pr || '' }}
NODE_DB_CACHE: ${{ github.event.inputs.node_db_cache || 'GH' }}
TAGS: ${{ github.event.inputs.tags || 'all' }}
2 changes: 1 addition & 1 deletion .github/workflows/e2e-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:

env:
TESTS_E2E_FIXTURES: ${{ secrets.TESTS_E2E_FIXTURES }}
NETWORK: ${{ github.event.inputs.network || 'preview' }}
NETWORK: ${{ github.event.inputs.network || 'preprod' }}
PR: ${{ github.event.inputs.pr || '' }}
NODE_DB_CACHE: ${{ github.event.inputs.node_db_cache || 'GH' }}
TAGS: ${{ github.event.inputs.tags || 'all' }}
2 changes: 1 addition & 1 deletion .github/workflows/e2e-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
path: C:/cardano-wallet/test/e2e/state/wallet_db

env:
NETWORK: ${{ github.event.inputs.network || 'preview' }}
NETWORK: ${{ github.event.inputs.network || 'preprod' }}
TESTS_E2E_FIXTURES: ${{ secrets.TESTS_E2E_FIXTURES }}
PR: ${{ github.event.inputs.pr || 'master' }}
NODE_DB_CACHE: ${{ github.event.inputs.node_db_cache || 'GH' }}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
ENV['TESTS_E2E_TOKEN_METADATA'] ||= 'https://metadata.cardano-testnet.iohkdev.io/'
ENV['TESTS_E2E_SMASH'] ||= 'https://smash.cardano-testnet.iohkdev.io'
ENV['WALLET_PORT'] ||= '8090'
ENV['NETWORK'] ||= 'preview'
ENV['NETWORK'] ||= 'preprod'

##
# Apply workaround for ADP-827 - Deleting wallets sometimes takes >60s in integration tests
Expand Down
Binary file modified test/e2e/fixtures/fixture_wallets.json.gpg
Binary file not shown.
2 changes: 2 additions & 0 deletions test/e2e/spec/e2e_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
script_utxo = '54b4e4e34a022424e441b00d8a73e9aaef71b3c63084e76246d326074c5d3756#1'
when 'preview'
script_utxo = '0c07395aed88bdddc6de0518d1462dd0ec7e52e1e3a53599f7cdb24dc80237f8#1'
when 'preprod'
script_utxo = '6d2174d3956d8eb2b3e1e198e817ccf1332a599d5d7320400bfd820490d706be#0'
else
skip %(
This test cannot be executed on '#{ENV.fetch('NETWORK', nil)}' yet!
Expand Down

0 comments on commit a5fc0eb

Please sign in to comment.