We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4db583d commit 09694dbCopy full SHA for 09694db
itest/litd_accounts_test.go
@@ -31,6 +31,8 @@ func runAccountSystemTest(t *harnessTest, node *HarnessNode, hostPort,
31
ctxt, cancel := context.WithTimeout(ctxb, defaultTimeout)
32
defer cancel()
33
34
+ assertNumChannels(ctxt, t.t, node.LightningClient, 0, 0, 0, 0)
35
+
36
// Before we start opening channels, we want to make sure we don't have
37
// any leftover funds in the tested node's wallet, so we can always
38
// exactly calculate what we are supposed to have during our test.
@@ -171,6 +173,7 @@ func runAccountSystemTest(t *harnessTest, node *HarnessNode, hostPort,
171
173
// Clean up our channel and payments, so we can start the next test
172
174
// iteration with a clean slate.
175
closeChannelAndAssert(t, net, node, channelOp, false)
176
177
178
_, err = node.DeleteAllPayments(ctxt, &lnrpc.DeleteAllPaymentsRequest{
179
FailedPaymentsOnly: false,
itest/litd_mode_integrated_test.go
@@ -629,8 +629,9 @@ func integratedTestSuite(ctx context.Context, net *NetworkHarness, t *testing.T,
629
)
630
631
ht := newHarnessTest(tt, net)
632
+ cfg.RPCAddr()
633
runAccountSystemTest(
- ht, net.Alice, cfg.LitAddr(), cfg.LitTLSCertPath,
634
+ ht, net.Alice, cfg.RPCAddr(), cfg.TLSCertPath,
635
superMacFile, (runNum*2)-1,
636
637
0 commit comments