Skip to content

Commit f744364

Browse files
committed
Skip mdns on Windows tests
1 parent c7ace7c commit f744364

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

mdns_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ package ice
99
import (
1010
"context"
1111
"regexp"
12+
"runtime"
1213
"testing"
1314
"time"
1415

@@ -17,6 +18,9 @@ import (
1718
)
1819

1920
func TestMulticastDNSOnlyConnection(t *testing.T) {
21+
if runtime.GOOS == "windows" {
22+
t.Skip("mDNS tests are unreliable on Windows due to multicast restrictions in CI environments")
23+
}
2024
defer test.CheckRoutines(t)()
2125

2226
// Limit runtime in case of deadlocks
@@ -73,6 +77,9 @@ func TestMulticastDNSOnlyConnection(t *testing.T) {
7377
}
7478

7579
func TestMulticastDNSMixedConnection(t *testing.T) {
80+
if runtime.GOOS == "windows" {
81+
t.Skip("mDNS tests are unreliable on Windows due to multicast restrictions in CI environments")
82+
}
7683
defer test.CheckRoutines(t)()
7784

7885
// Limit runtime in case of deadlocks
@@ -132,6 +139,9 @@ func TestMulticastDNSMixedConnection(t *testing.T) {
132139
}
133140

134141
func TestMulticastDNSStaticHostName(t *testing.T) {
142+
if runtime.GOOS == "windows" {
143+
t.Skip("mDNS tests are unreliable on Windows due to multicast restrictions in CI environments")
144+
}
135145
defer test.CheckRoutines(t)()
136146

137147
defer test.TimeOut(time.Second * 30).Stop()

0 commit comments

Comments
 (0)