From 79513e81eb72ddef78079ad2a74282fbeb42b1e2 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Sat, 29 Jun 2019 11:52:23 +0700 Subject: [PATCH] skip the multiplex test on linux, add a better explanation --- integrationtests/self/multiplex_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integrationtests/self/multiplex_test.go b/integrationtests/self/multiplex_test.go index a524b29bf..3657f0070 100644 --- a/integrationtests/self/multiplex_test.go +++ b/integrationtests/self/multiplex_test.go @@ -5,7 +5,7 @@ import ( "fmt" "io/ioutil" "net" - "os" + "runtime" "time" quic "github.com/lucas-clemente/quic-go" @@ -164,8 +164,8 @@ var _ = Describe("Multiplexing", func() { }) It("runs a server and client on the same conn", func() { - if os.Getenv("CI") == "true" { - Skip("This test is flaky on CIs, see see https://github.com/golang/go/issues/17677.") + if runtime.GOOS == "linux" { + Skip("This test would require setting of iptables rules, see https://stackoverflow.com/questions/23859164/linux-udp-socket-sendto-operation-not-permitted.") } addr1, err := net.ResolveUDPAddr("udp", "localhost:0") Expect(err).ToNot(HaveOccurred())