|
|
|
@ -17,6 +17,7 @@ import (
|
|
|
|
"net/netip"
|
|
|
|
"net/netip"
|
|
|
|
"os"
|
|
|
|
"os"
|
|
|
|
"path/filepath"
|
|
|
|
"path/filepath"
|
|
|
|
|
|
|
|
"runtime"
|
|
|
|
"strings"
|
|
|
|
"strings"
|
|
|
|
"sync"
|
|
|
|
"sync"
|
|
|
|
"testing"
|
|
|
|
"testing"
|
|
|
|
@ -37,6 +38,7 @@ import (
|
|
|
|
"tailscale.com/types/key"
|
|
|
|
"tailscale.com/types/key"
|
|
|
|
"tailscale.com/types/logger"
|
|
|
|
"tailscale.com/types/logger"
|
|
|
|
"tailscale.com/types/views"
|
|
|
|
"tailscale.com/types/views"
|
|
|
|
|
|
|
|
"tailscale.com/util/cibuild"
|
|
|
|
"tailscale.com/util/racebuild"
|
|
|
|
"tailscale.com/util/racebuild"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
@ -113,6 +115,9 @@ func (f *fsm) Restore(rc io.ReadCloser) error {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func testConfig(t *testing.T) {
|
|
|
|
func testConfig(t *testing.T) {
|
|
|
|
|
|
|
|
if runtime.GOOS == "windows" && cibuild.On() {
|
|
|
|
|
|
|
|
t.Skip("cmd/natc isn't supported on Windows, so skipping tsconsensus tests on CI for now; see https://github.com/tailscale/tailscale/issues/16340")
|
|
|
|
|
|
|
|
}
|
|
|
|
// -race AND Parallel makes things start to take too long.
|
|
|
|
// -race AND Parallel makes things start to take too long.
|
|
|
|
if !racebuild.On {
|
|
|
|
if !racebuild.On {
|
|
|
|
t.Parallel()
|
|
|
|
t.Parallel()
|
|
|
|
|