Skip to content

Commit c419efa

Browse files
authored
Update icad manual e2e versions (cosmos#2162)
1 parent a83bcd5 commit c419efa

File tree

3 files changed

+19
-34
lines changed

3 files changed

+19
-34
lines changed

.github/workflows/e2e-manual-icad.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ on:
2424
default: master
2525
options:
2626
- master
27-
- v0.3.2
28-
- v0.2.2
29-
- v0.1.3
27+
- v0.3.3
28+
- v0.2.3
29+
- v0.1.4
3030
chain-b-tag:
3131
default: master
3232
description: 'The tag to use for chain B'
3333
required: true
3434
type: choice
3535
options:
3636
- master
37-
- v0.3.2
38-
- v0.2.2
39-
- v0.1.3
37+
- v0.3.3
38+
- v0.2.3
39+
- v0.1.4
4040
relayer-tag:
4141
description: 'The tag to use for the relayer'
4242
required: true

e2e/scripts/test-matricies/main/test-matrix.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,20 @@
4848
"chain-binary": "icad",
4949
"tests": [
5050
{
51-
"chain-a-tag": "v0.3.2",
52-
"chain-b-tag": "v0.1.3"
51+
"chain-a-tag": "v0.3.3",
52+
"chain-b-tag": "v0.1.4"
5353
},
5454
{
55-
"chain-a-tag": "v0.1.3",
56-
"chain-b-tag": "v0.3.2"
55+
"chain-a-tag": "v0.1.4",
56+
"chain-b-tag": "v0.3.3"
5757
},
5858
{
59-
"chain-a-tag": "v0.2.2",
60-
"chain-b-tag": "v0.3.2"
59+
"chain-a-tag": "v0.2.3",
60+
"chain-b-tag": "v0.3.3"
6161
},
6262
{
63-
"chain-a-tag": "v0.3.2",
64-
"chain-b-tag": "v0.2.2"
63+
"chain-a-tag": "v0.3.3",
64+
"chain-b-tag": "v0.2.3"
6565
}
6666
]
6767
},
@@ -70,12 +70,12 @@
7070
"chain-binary": "icad",
7171
"tests": [
7272
{
73-
"chain-a-tag": "v0.2.2",
74-
"chain-b-tag": "v0.3.2"
73+
"chain-a-tag": "v0.2.3",
74+
"chain-b-tag": "v0.3.3"
7575
},
7676
{
77-
"chain-a-tag": "v0.3.2",
78-
"chain-b-tag": "v0.2.2"
77+
"chain-a-tag": "v0.3.3",
78+
"chain-b-tag": "v0.2.3"
7979
}
8080
]
8181
}

e2e/testsuite/testsuite.go

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -392,28 +392,13 @@ func (s *E2ETestSuite) createCosmosChains(chainOptions testconfig.ChainOptions)
392392

393393
logger := zaptest.NewLogger(s.T())
394394

395-
numValidators, numFullNodes := getValidatorsAndFullNodes(chainOptions)
395+
numValidators, numFullNodes := 4, 1
396396

397397
chainA := cosmos.NewCosmosChain(s.T().Name(), *chainOptions.ChainAConfig, numValidators, numFullNodes, logger)
398398
chainB := cosmos.NewCosmosChain(s.T().Name(), *chainOptions.ChainBConfig, numValidators, numFullNodes, logger)
399399
return chainA, chainB
400400
}
401401

402-
// getValidatorsAndFullNodes returns the number of validators and full nodes which should be used
403-
// for the given chain config.
404-
func getValidatorsAndFullNodes(chainOptions testconfig.ChainOptions) (int, int) {
405-
// TODO: the icad tests are failing with a larger number of validators.
406-
// this function can be removed once https://github.com/cosmos/ibc-go/issues/2104 is resolved.
407-
numValidators := 4
408-
numFullNodes := 1
409-
isIcadImage := strings.Contains(chainOptions.ChainAConfig.Images[0].Repository, "icad")
410-
if isIcadImage {
411-
numValidators = 1
412-
numFullNodes = 0
413-
}
414-
return numValidators, numFullNodes
415-
}
416-
417402
// GetRelayerExecReporter returns a testreporter.RelayerExecReporter instances
418403
// using the current test's testing.T.
419404
func (s *E2ETestSuite) GetRelayerExecReporter() *testreporter.RelayerExecReporter {

0 commit comments

Comments
 (0)