Skip to content

Commit

Permalink
chore: wait for clear resources before remove all the directories
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Aug 5, 2024
1 parent 7b5908f commit bd9263d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/e2e/configurer/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ const defaultSyncUntilHeight = 3
func (bc *baseConfigurer) ClearResources() error {
bc.t.Log("tearing down e2e integration test suite...")

g := new(errgroup.Group)
g.Go(func() error {
return bc.containerManager.ClearResources()
})
if err := bc.containerManager.ClearResources(); err != nil {
return err
}

g := new(errgroup.Group)
for _, chainConfig := range bc.chainConfigs {
chainConfig := chainConfig
g.Go(func() error {
Expand Down

0 comments on commit bd9263d

Please sign in to comment.