e2e: relax timeouts (#6356)

* remove duplicate light error

* quieten handling of txs that already exist in the mempool

* notch back e2e timeouts
This commit is contained in:
Callum Waters
2021-04-14 19:53:54 +02:00
committed by GitHub
parent 693e11c6c6
commit b878326396
7 changed files with 9 additions and 15 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func PerturbNode(node *e2e.Node, perturbation e2e.Perturbation) (*rpctypes.Resul
return nil, fmt.Errorf("unexpected perturbation %q", perturbation)
}
status, err := waitForNode(node, 0, 10*time.Second)
status, err := waitForNode(node, 0, 20*time.Second)
if err != nil {
return nil, err
}
+1 -1
View File
@@ -75,7 +75,7 @@ func Start(testnet *e2e.Testnet) error {
if err := execCompose(testnet.Dir, "up", "-d", node.Name); err != nil {
return err
}
status, err := waitForNode(node, node.StartAt, 1*time.Minute)
status, err := waitForNode(node, node.StartAt, 3*time.Minute)
if err != nil {
return err
}
+1 -1
View File
@@ -86,7 +86,7 @@ func TestApp_Tx(t *testing.T) {
require.NoError(t, err)
hash := tx.Hash()
waitTime := 20 * time.Second
waitTime := 30 * time.Second
require.Eventuallyf(t, func() bool {
txResp, err := client.Tx(ctx, hash, false)
return err == nil && bytes.Equal(txResp.Tx, tx)