Skip to content

Commit

Permalink
Fix random test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
ilija42 committed May 22, 2024
1 parent 34c7e02 commit 2bc09fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions core/services/chainlink/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1294,19 +1294,19 @@ func TestConfig_Validate(t *testing.T) {
- 4: 2 errors:
- ChainID: missing: required for all chains
- Nodes: missing: must have at least one node
- Cosmos: 5 errors:
- Cosmos: 4 errors:
- 1.ChainID: invalid value (Malaga-420): duplicate - must be unique
- 0.Nodes.1.Name: invalid value (test): duplicate - must be unique
0.Nodes.1.Name: invalid value (test): duplicate - must be unique
- 0.Nodes: 2 errors:
- 0.TendermintURL: missing: required for all nodes
- 1.TendermintURL: missing: required for all nodes
- 1.Nodes: missing: must have at least one node
- 2: 2 errors:
- ChainID: missing: required for all chains
- Nodes: missing: must have at least one node
- Solana: 5 errors:
- Solana: 4 errors:
- 1.ChainID: invalid value (mainnet): duplicate - must be unique
- 1.Nodes.1.Name: invalid value (bar): duplicate - must be unique
1.Nodes.1.Name: invalid value (bar): duplicate - must be unique
- 0.Nodes: missing: must have at least one node
- 1.Nodes: 2 errors:
- 0.URL: missing: required for all nodes
Expand Down
8 changes: 4 additions & 4 deletions testdata/scripts/node/validate/invalid-duplicates.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ Error running app: invalid configuration: 4 errors:
- 1.Nodes.1.Name: invalid value (fake): duplicate - must be unique
- 1.Nodes.1.WSURL: invalid value (wss://foo.bar/ws): duplicate - must be unique
- 1.Nodes.1.HTTPURL: invalid value (https://foo.bar): duplicate - must be unique
- Cosmos: 3 errors:
- Cosmos: 2 errors:
- 1.ChainID: invalid value (Malaga-420): duplicate - must be unique
- 1.Nodes.1.Name: invalid value (primary): duplicate - must be unique
1.Nodes.1.Name: invalid value (primary): duplicate - must be unique
- 1.Nodes.1.TendermintURL: invalid value (http://tender.mint): duplicate - must be unique
- Solana: 3 errors:
- Solana: 2 errors:
- 1.ChainID: invalid value (mainnet): duplicate - must be unique
- 1.Nodes.1.Name: invalid value (primary): duplicate - must be unique
1.Nodes.1.Name: invalid value (primary): duplicate - must be unique
- 1.Nodes.1.URL: invalid value (http://solana.web): duplicate - must be unique
- Starknet: 3 errors:
- 1.ChainID: invalid value (foobar): duplicate - must be unique
Expand Down

0 comments on commit 2bc09fd

Please sign in to comment.