From e62cf05c9e9d0a2cf9c102e84541824e6bdf8355 Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Fri, 30 Mar 2018 12:48:08 +0200 Subject: [PATCH] swarm/pss: disable tests on darwin --- swarm/pss/pss_test.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/swarm/pss/pss_test.go b/swarm/pss/pss_test.go index ee4cdb5248..774dfa0f15 100644 --- a/swarm/pss/pss_test.go +++ b/swarm/pss/pss_test.go @@ -12,6 +12,7 @@ import ( "io/ioutil" "math/rand" "os" + "runtime" "strconv" "strings" "sync" @@ -634,10 +635,21 @@ func worker(id int, jobs <-chan Job, rpcs map[discover.NodeID]*rpc.Client, pubke // nodes/msgs/addrbytes/adaptertype // if adaptertype is exec uses execadapter, simadapter otherwise func TestNetwork(t *testing.T) { + if runtime.GOOS == "darwin" { + t.Skip("Travis macOS build seems to be very slow, and these tests are flaky on it. Skipping until we find a solution.") + } + t.Run("3/2000/4/sock", testNetwork) t.Run("4/2000/4/sock", testNetwork) t.Run("8/2000/4/sock", testNetwork) t.Run("16/2000/4/sock", testNetwork) + t.Run("32/2000/4/sock", testNetwork) + + t.Run("3/2000/4/sim", testNetwork) + t.Run("4/2000/4/sim", testNetwork) + t.Run("8/2000/4/sim", testNetwork) + t.Run("16/2000/4/sim", testNetwork) + t.Run("32/2000/4/sim", testNetwork) } func testNetwork(t *testing.T) {