mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
add travis retry
This commit is contained in:
parent
0bd7d25d52
commit
7f581be3be
2 changed files with 9 additions and 10 deletions
18
.travis.yml
18
.travis.yml
|
|
@ -22,57 +22,57 @@ jobs:
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=auto
|
- GO111MODULE=auto
|
||||||
name: A-B tests
|
name: A-B tests
|
||||||
script: go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[a-b].*")
|
script: travis_retry go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[a-b].*")
|
||||||
- script: go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/c[a-m].*")
|
- script: travis_retry go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/c[a-m].*")
|
||||||
os: linux
|
os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
go: 1.14.x
|
go: 1.14.x
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=auto
|
- GO111MODULE=auto
|
||||||
name: C-[a-m] tests
|
name: C-[a-m] tests
|
||||||
- script: go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/c[n-o].*")
|
- script: travis_retry go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/c[n-o].*")
|
||||||
os: linux
|
os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
go: 1.14.x
|
go: 1.14.x
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=auto
|
- GO111MODULE=auto
|
||||||
name: C-[n-o] tests
|
name: C-[n-o] tests
|
||||||
- script: go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/c[p-z].*")
|
- script: travis_retry go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/c[p-z].*")
|
||||||
os: linux
|
os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
go: 1.14.x
|
go: 1.14.x
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=auto
|
- GO111MODULE=auto
|
||||||
name: C-[p-z] tests
|
name: C-[p-z] tests
|
||||||
- script: go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[d-i].*")
|
- script: travis_retry go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[d-i].*")
|
||||||
os: linux
|
os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
go: 1.14.x
|
go: 1.14.x
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=auto
|
- GO111MODULE=auto
|
||||||
name: D-I tests
|
name: D-I tests
|
||||||
- script: go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[j-n].*")
|
- script: travis_retry go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[j-n].*")
|
||||||
os: linux
|
os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
go: 1.14.x
|
go: 1.14.x
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=auto
|
- GO111MODULE=auto
|
||||||
name: J-N tests
|
name: J-N tests
|
||||||
- script: go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[o-r].*")
|
- script: travis_retry go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[o-r].*")
|
||||||
os: linux
|
os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
go: 1.14.x
|
go: 1.14.x
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=auto
|
- GO111MODULE=auto
|
||||||
name: O-R tests
|
name: O-R tests
|
||||||
- script: go run build/ci.go test -v -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/s.*")
|
- script: travis_retry go run build/ci.go test -v -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/s.*")
|
||||||
os: linux
|
os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
go: 1.14.x
|
go: 1.14.x
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=auto
|
- GO111MODULE=auto
|
||||||
name: S tests
|
name: S tests
|
||||||
- script: go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[t-z].*")
|
- script: travis_retry go run build/ci.go test -coverage $(go list ./... | grep "github.com\/ethereum\/go-ethereum\/[t-z].*")
|
||||||
os: linux
|
os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
go: 1.14.x
|
go: 1.14.x
|
||||||
|
|
|
||||||
|
|
@ -284,7 +284,6 @@ OUTER_TWO:
|
||||||
// connected in a ring topology, checks that all nodes successfully handshake
|
// connected in a ring topology, checks that all nodes successfully handshake
|
||||||
// with each other and that a snapshot fully represents the desired topology
|
// with each other and that a snapshot fully represents the desired topology
|
||||||
func TestNetworkSimulation(t *testing.T) {
|
func TestNetworkSimulation(t *testing.T) {
|
||||||
t.Skip("Test flaky")
|
|
||||||
// create simulation network with 20 testService nodes
|
// create simulation network with 20 testService nodes
|
||||||
adapter := adapters.NewSimAdapter(adapters.Services{
|
adapter := adapters.NewSimAdapter(adapters.Services{
|
||||||
"test": newTestService,
|
"test": newTestService,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue