htlcswitch: fix hint in link tests [skip ci]

Fixes #6020.
This commit is contained in:
Oliver Powell 2021-11-23 16:04:12 +02:00
parent 74cc9e14a7
commit 1fe6a3cf9b

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