Skip to content

Commit

Permalink
removing negative path testing due to CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhuie19 committed Aug 29, 2024
1 parent a6c89f6 commit 0a72af6
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions testdata/scripts/node/validate/defaults-override.txtar
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# test with default override
mkdir default_overrides
mkdir default_overrides/evm
# mkdir default_overrides
# mkdir default_overrides/evm
env CL_CHAIN_DEFAULTS=default_overrides
exec chainlink node -c config.toml -s secrets.toml validate
cmp stdout out.txt
Expand All @@ -10,16 +10,18 @@ env CL_CHAIN_DEFAULTS=
exec chainlink node -c config.toml -s secrets.toml validate
! cmp stdout out.txt

# negative path testing with failing validate command not working in CI: BCF-3370

# overrides outside of evm suffix, FinalityTagEnabled should not match as override is not applied
mkdir default_overrides2
env CL_CHAIN_DEFAULTS=default_overrides2
! exec chainlink node -c config.toml -s secrets.toml validate
# mkdir default_overrides2
# env CL_CHAIN_DEFAULTS=default_overrides2
# ! exec chainlink node -c config.toml -s secrets.toml validate

# duplicate chain IDs
mkdir default_overrides3
env CL_CHAIN_DEFAULTS=default_overrides3
! exec chainlink node -c config.toml -s secrets.toml validate

# mkdir default_overrides3
# env CL_CHAIN_DEFAULTS=default_overrides3
# ! exec chainlink node -c config.toml -s secrets.toml validate
# stderr 'contains duplicate ChainID'

-- default_overrides/evm/Ethereum_Mainnet.toml --
ChainID = '1'
Expand All @@ -29,10 +31,10 @@ FinalityTagEnabled = true
ChainID = '1'
FinalityTagEnabled = true

-- default_overrides3/Ethereum_Mainnet.toml --
-- default_overrides3/evm/Ethereum_Mainnet.toml --
ChainID = '1'

-- default_overrides3/Ethereum_Testnet.toml --
-- default_overrides3/evm/Ethereum_Testnet.toml --
ChainID = '1'

-- config.toml --
Expand Down

0 comments on commit 0a72af6

Please sign in to comment.