Skip to content

Feat: e2e configure number of chains to spin up #8362

@DeshErBojhaa

Description

@DeshErBojhaa

Summary

GIve user to determine how many test chains to spinup for each e2e tests.

Problem Definition

Right now most of the e2e tests need two chains. Some need three chains and only a few needs four chains.

But the e2e suite is written in a way, that the number of chains are not configurable. Although only a few tests require more than two chains (PFM for example), all the the tests have to spin up four chains, which is slow and sub optimal.

Use cases

Proposal

e2e/testsuite/testsuite.go should take an additional param to determine how many chains to spin up

func (s *E2ETestSuite) SetupSuite() {
	s.SetupChains(context.TODO(), nil)
}

🔽

func (s *E2ETestSuite) SetupSuite(n chainCount) {
	s.SetupChains(context.TODO(), chainCount, nil)
}

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged/assigned
  • Estimate provided

Metadata

Metadata

Assignees

Labels

e2etype: featureNew features, sub-features or integrations

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions