itest: manage context inside EnsureConnected

This commit is contained in:
yyforyongyu
2021-08-19 21:00:21 +08:00
parent d10d1e3e24
commit 74f8fe482d
18 changed files with 46 additions and 82 deletions

View File

@@ -499,7 +499,7 @@ func wsTestCaseBiDirectionalSubscription(ht *harnessTest,
// Before we start opening channels, make sure the two nodes are
// connected.
net.EnsureConnected(context.Background(), ht.t, net.Alice, net.Bob)
net.EnsureConnected(ht.t, net.Alice, net.Bob)
// Open 3 channels to make sure multiple requests and responses can be
// sent over the web socket.