Merge pull request #6021 from greywolve/fix-link-test-hint

htlcswitch: fix hint in link tests [skip ci]
This commit is contained in:
Oliver Gugger authored and GitHub committed 2021-11-23 18:18:46 +01:00
commit 80720cb63f
1 file changed
+2 -2
+2 -2
View File
@@ -2170,7 +2170,7 @@ func updateState(batchTick chan time.Time, link *channelLink,
// sleep in this test and the one below
func TestChannelLinkBandwidthConsistency(t *testing.T) {
if !build.IsDevBuild() {
t.Fatalf("htlcswitch tests must be run with '-tags debug")
t.Fatalf("htlcswitch tests must be run with '-tags dev")
}
t.Parallel()
@@ -2904,7 +2904,7 @@ func TestChannelLinkTrimCircuitsPending(t *testing.T) {
// circuits if the ADDs corresponding to open circuits are never committed.
func TestChannelLinkTrimCircuitsNoCommit(t *testing.T) {
if !build.IsDevBuild() {
t.Fatalf("htlcswitch tests must be run with '-tags debug")
t.Fatalf("htlcswitch tests must be run with '-tags dev")
}
t.Parallel()