lntest/timeouts: fix darwin+kvdb_etcd build

Currently trying to run etcd tests on darwin will cause the timeouts to
improperly select timeouts_darwin.go which are stricter than
timeouts_etcd.go. We fix this by always defaulting to timeouts_etcd.go
no matter the platform, and only falling back to timeouts_darwin.go if
the kvdb_etcd tag is not present.
This commit is contained in:
Conner Fromknecht 2020-11-18 15:28:39 -08:00
parent b70b6d9a6e
commit f86c26878a
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
// +build darwin // +build darwin,!kvdb_etcd
package lntest package lntest

View File

@ -1,4 +1,4 @@
// +build !darwin,kvdb_etcd // +build kvdb_etcd
package lntest package lntest