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 committed 2020-11-18 15:28:39 -08:00
1 parent b70b6d9a6e
commit f86c26878a
2 files changed
+2 -2

No files matched your search

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