diff --git a/bridge/e2e/eth.go b/bridge/e2e/eth.go index da634c6a..db797b2e 100644 --- a/bridge/e2e/eth.go +++ b/bridge/e2e/eth.go @@ -22,7 +22,7 @@ import ( // waitEthBalance waits for target account before to increase. func waitEthBalance(t *testing.T, ctx context.Context, token *erc20.Erc20, before *big.Int, target int64) { - ctx, cancel := context.WithTimeout(ctx, 30*time.Second) + ctx, cancel := context.WithTimeout(ctx, 60*time.Second) defer cancel() err := wait.PollUntil(1*time.Second, func() (bool, error) { diff --git a/bridge/e2e/solana.go b/bridge/e2e/solana.go index ac1d6fe4..fb716ef9 100644 --- a/bridge/e2e/solana.go +++ b/bridge/e2e/solana.go @@ -45,7 +45,7 @@ func getSPLBalance(ctx context.Context, c *kubernetes.Clientset, hexAddr string) func waitSPLBalance(t *testing.T, ctx context.Context, c *kubernetes.Clientset, hexAddr string, before *big.Int, target int64) { // Wait for target account balance to increase. - ctx, cancel := context.WithTimeout(ctx, 10*time.Second) + ctx, cancel := context.WithTimeout(ctx, 30*time.Second) defer cancel() err := wait.PollUntil(1*time.Second, func() (bool, error) { after, err := getSPLBalance(ctx, c, hexAddr) diff --git a/bridge/e2e/terra.go b/bridge/e2e/terra.go index 22072752..14e0681d 100644 --- a/bridge/e2e/terra.go +++ b/bridge/e2e/terra.go @@ -193,7 +193,7 @@ func terraQuery(ctx context.Context, contract string, query string) (string, err // waitTerraAsset waits for asset contract to be deployed on terra func waitTerraAsset(t *testing.T, ctx context.Context, contract string, chain uint8, asset []byte) (string, error) { - ctx, cancel := context.WithTimeout(ctx, 30*time.Second) + ctx, cancel := context.WithTimeout(ctx, 60*time.Second) defer cancel() assetAddress := "" @@ -218,7 +218,7 @@ func waitTerraAsset(t *testing.T, ctx context.Context, contract string, chain ui // waitTerraBalance waits for target account before to increase. func waitTerraBalance(t *testing.T, ctx context.Context, token string, before *big.Int, target int64) { - ctx, cancel := context.WithTimeout(ctx, 30*time.Second) + ctx, cancel := context.WithTimeout(ctx, 60*time.Second) defer cancel() err := wait.PollUntil(1*time.Second, func() (bool, error) {