Skip to content

Commit

Permalink
experiment: remove the sleep, keep waiting for 10 blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisJim committed Jun 1, 2023
1 parent b56a20e commit 07b76fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions e2e/testsuite/testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"fmt"
"strings"
"time"

dockerclient "github.com/docker/docker/client"
interchaintest "github.com/strangelove-ventures/interchaintest/v7"
Expand Down Expand Up @@ -129,8 +128,7 @@ func (s *E2ETestSuite) SetupChainsRelayerAndChannel(ctx context.Context, channel
}
})
// wait for relayer to start.
time.Sleep(time.Second * 10)
s.Require().NoError(test.WaitForBlocks(ctx, 5, chainA, chainB), "failed to wait for blocks")
s.Require().NoError(test.WaitForBlocks(ctx, 10, chainA, chainB), "failed to wait for blocks")
}

s.InitGRPCClients(chainA)
Expand Down

0 comments on commit 07b76fb

Please sign in to comment.