mirror of
https://github.com/tailscale/tailscale.git
synced 2025-07-29 15:23:45 +00:00
tsconsensus: skipping slow non-applicable tests on Windows for now
Updates #16340 Change-Id: I61b0186295c095f99c5be81dc4dced5853025d35 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
bb085cfa3e
commit
12e92b1b08
@ -17,6 +17,7 @@ import (
|
||||
"net/netip"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"strings"
|
||||
"sync"
|
||||
"testing"
|
||||
@ -37,6 +38,7 @@ import (
|
||||
"tailscale.com/types/key"
|
||||
"tailscale.com/types/logger"
|
||||
"tailscale.com/types/views"
|
||||
"tailscale.com/util/cibuild"
|
||||
"tailscale.com/util/racebuild"
|
||||
)
|
||||
|
||||
@ -113,6 +115,9 @@ func (f *fsm) Restore(rc io.ReadCloser) error {
|
||||
}
|
||||
|
||||
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.
|
||||
if !racebuild.On {
|
||||
t.Parallel()
|
||||
|
Loading…
x
Reference in New Issue
Block a user