mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
swarm/pss: disable tests on darwin
This commit is contained in:
parent
6417cc691e
commit
e62cf05c9e
1 changed files with 12 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"os"
|
"os"
|
||||||
|
"runtime"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
@ -634,10 +635,21 @@ func worker(id int, jobs <-chan Job, rpcs map[discover.NodeID]*rpc.Client, pubke
|
||||||
// nodes/msgs/addrbytes/adaptertype
|
// nodes/msgs/addrbytes/adaptertype
|
||||||
// if adaptertype is exec uses execadapter, simadapter otherwise
|
// if adaptertype is exec uses execadapter, simadapter otherwise
|
||||||
func TestNetwork(t *testing.T) {
|
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("3/2000/4/sock", testNetwork)
|
||||||
t.Run("4/2000/4/sock", testNetwork)
|
t.Run("4/2000/4/sock", testNetwork)
|
||||||
t.Run("8/2000/4/sock", testNetwork)
|
t.Run("8/2000/4/sock", testNetwork)
|
||||||
t.Run("16/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) {
|
func testNetwork(t *testing.T) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue