itest: document a rare flake found in macOS

This commit is contained in:
yyforyongyu committed 2024-12-20 19:38:09 +08:00
1 parent 39104c53d4
commit 7e80b77535
2 files changed
+104 -19

No files matched your search

+5
View File
@@ -233,6 +233,11 @@ func getLndBinary(t *testing.T) string {
return binary
}
// isDarwin returns true if the test is running on a macOS.
func isDarwin() bool {
return runtime.GOOS == "darwin"
}
func init() {
// Before we start any node, we need to make sure that any btcd node
// that is started through the RPC harness uses a unique port as well