Skip to content

Commit

Permalink
itest: assert no failed updates in test
Browse files Browse the repository at this point in the history
So that this fails earlier on if the actual call to UpdateChannelPolicy
fails.
  • Loading branch information
ellemouton committed Nov 8, 2024
1 parent 1598f14 commit 7edf99f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion itest/lnd_channel_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ func testUpdateChannelPolicy(ht *lntest.HarnessTest) {
ChanPoint: chanPoint,
},
}
bob.RPC.UpdateChannelPolicy(req)
updateResp := bob.RPC.UpdateChannelPolicy(req)
require.Empty(ht, updateResp.FailedUpdates, 0)

// Wait for all nodes to have seen the policy update done by Bob.
assertNodesPolicyUpdate(ht, nodes, bob, expectedPolicy, chanPoint)
Expand Down

0 comments on commit 7edf99f

Please sign in to comment.