Merge pull request #1971 from lucas-clemente/skip-multiplex-test-on-linux

skip the multiplex test on linux, add a better explanation
This commit is contained in:
Marten Seemann
2019-06-30 17:32:27 +07:00
committed by GitHub

View File

@@ -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())