Skip to content

Commit 80b94e1

Browse files
committed
fixup: cleanup from rebase
1 parent 2773caa commit 80b94e1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

tests/e2e/e2e.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import (
1818

1919
"github.com/ava-labs/coreth/ethclient"
2020

21-
"github.com/ava-labs/avalanchego/config"
2221
"github.com/ava-labs/avalanchego/tests"
2322
"github.com/ava-labs/avalanchego/tests/fixture"
2423
"github.com/ava-labs/avalanchego/tests/fixture/testnet"

tests/e2e/faultinjection/duplicate_node_id.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ var _ = ginkgo.Describe("Duplicate node handling", func() {
4646
node2 := e2e.AddEphemeralNode(network, node2Flags)
4747

4848
ginkgo.By("checking that the second new node fails to become healthy before timeout")
49-
ctx, cancel := context.WithTimeout(context.Background(), e2e.DefaultNodeStartTimeout)
50-
defer cancel()
51-
err := testnet.WaitForHealthy(ctx, node2)
49+
err := testnet.WaitForHealthy(e2e.DefaultContext(), node2)
5250
require.ErrorIs(err, context.DeadlineExceeded)
5351

5452
ginkgo.By("stopping the first new node")

0 commit comments

Comments
 (0)