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
2021-11-23 18:18:46 +01:00
committed by GitHub

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()