Skip to content

Commit 08aa091

Browse files
committed
itest: add litd specific harness features, bump lnd version
1 parent 3fc6555 commit 08aa091

File tree

8 files changed

+546
-208
lines changed

8 files changed

+546
-208
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ Lightning Terminal is backwards compatible with `lnd` back to version v0.13.3-be
8888
## Daemon Versions packaged with LiT
8989

9090
| LiT | LND | Loop | Faraday | Pool |
91-
|------------------| ------------ | ----------- | ------------ |--------------|
91+
|------------------|--------------| ----------- | ------------ |--------------|
92+
| **v0.6.3-alpha** | v0.14.2-beta | v0.15.1-beta | v0.2.7-alpha | v0.5.4-alpha |
9293
| **v0.6.2-alpha** | v0.14.1-beta | v0.15.1-beta | v0.2.7-alpha | v0.5.4-alpha |
9394
| **v0.6.1-alpha** | v0.14.1-beta | v0.15.1-beta | v0.2.7-alpha | v0.5.2-alpha |
9495
| **v0.5.3-alpha** | v0.13.3-beta | v0.14.1-beta | v0.2.6-alpha | v0.5.0-alpha |

go.mod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ require (
1414
github.com/lightninglabs/lndclient v0.14.0-7
1515
github.com/lightninglabs/loop v0.15.1-beta
1616
github.com/lightninglabs/pool v0.5.4-alpha.0.20220114202858-525fe156d240
17+
github.com/lightninglabs/pool/auctioneerrpc v1.0.5
1718
github.com/lightninglabs/protobuf-hex-display v1.4.3-hex-display
18-
github.com/lightningnetwork/lnd v0.14.1-beta
19+
github.com/lightningnetwork/lnd v0.14.2-beta
1920
github.com/lightningnetwork/lnd/cert v1.1.0
2021
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
2122
github.com/mwitkow/grpc-proxy v0.0.0-20181017164139-0f1106ef9c76
2223
github.com/rs/cors v1.7.0 // indirect
2324
github.com/stretchr/testify v1.7.0
24-
github.com/urfave/cli v1.20.0
25+
github.com/urfave/cli v1.22.4
2526
go.etcd.io/bbolt v1.3.6
2627
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
2728
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c

go.sum

Lines changed: 217 additions & 11 deletions
Large diffs are not rendered by default.

itest/litd_mode_integrated_test.go

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package itest
2+
3+
import (
4+
"context"
5+
6+
"github.com/btcsuite/btcutil"
7+
"github.com/lightningnetwork/lnd/lnrpc"
8+
"github.com/stretchr/testify/require"
9+
)
10+
11+
// testModeIntegrated makes sure that in integrated mode all daemons work
12+
// correctly.
13+
func testModeIntegrated(net *NetworkHarness, t *harnessTest) {
14+
ctx := context.Background()
15+
16+
// Some very basic functionality tests to make sure lnd is working fine
17+
// in integrated mode.
18+
net.SendCoins(t.t, btcutil.SatoshiPerBitcoin, net.Alice)
19+
20+
// We expect a non-empty alias (truncated node ID) to be returned.
21+
resp, err := net.Alice.GetInfo(ctx, &lnrpc.GetInfoRequest{})
22+
require.NoError(t.t, err)
23+
require.NotEmpty(t.t, resp.Alias)
24+
}

0 commit comments

Comments
 (0)