mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
p2p/sim: skip socketPipe tests if we cannot increase unix socket buffer size
This commit is contained in:
parent
1ae7e60d8d
commit
0eb02fee4c
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ import (
|
||||||
func TestSocketPipe(t *testing.T) {
|
func TestSocketPipe(t *testing.T) {
|
||||||
c1, c2, err := socketPipe()
|
c1, c2, err := socketPipe()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Skip("system limit is less than desired. no buffer space available for socket. skipping test... err: ", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
done := make(chan struct{})
|
done := make(chan struct{})
|
||||||
|
|
@ -72,7 +72,7 @@ func TestSocketPipe(t *testing.T) {
|
||||||
func TestSocketPipeBidirections(t *testing.T) {
|
func TestSocketPipeBidirections(t *testing.T) {
|
||||||
c1, c2, err := socketPipe()
|
c1, c2, err := socketPipe()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Skip("system limit is less than desired. no buffer space available for socket. skipping test... err: ", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
done := make(chan struct{})
|
done := make(chan struct{})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue