Skip to content

Commit

Permalink
fix(ci): Fix for the feemarket test misconfiguring validators
Browse files Browse the repository at this point in the history
  • Loading branch information
fastfadingviolets committed Jan 13, 2025
1 parent eecf11b commit edf9e53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/interchain/chainsuite/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ func (c *Chain) ModifyConfig(ctx context.Context, testName interchaintest.TestNa
eg := errgroup.Group{}
if len(validators) == 0 {
validators = make([]int, len(c.Validators))
for _, valIdx := range validators {
for valIdx := range validators {
validators[valIdx] = valIdx
}
}
Expand All @@ -486,5 +486,6 @@ func (c *Chain) ModifyConfig(ctx context.Context, testName interchaintest.TestNa
if err := eg.Wait(); err != nil {
return err
}
time.Sleep(30 * time.Second)
return nil
}
1 change: 1 addition & 0 deletions tests/interchain/validator/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func (s *ConfigSuite) TestNoIndexingTransactions() {
s.Require().NoError(err)
tx := cosmos.CosmosTx{}
s.Require().NoError(json.Unmarshal(stdout, &tx))
s.Require().Equal(0, tx.Code, tx.RawLog)
s.Require().NoError(testutil.WaitForBlocks(s.GetContext(), 2, s.Chain))

txResult, err := s.Chain.Validators[1].GetTransaction(
Expand Down

0 comments on commit edf9e53

Please sign in to comment.