X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=p2p%2Fswitch_test.go;h=d3566bce0071db6fa3f4148cfc1cc67964097875;hp=b1025a177419d5e150d3d7326be466666d74dd64;hb=2cf5801b2e693a45de9b51ec9aa9c1f787d57105;hpb=0dff3fcf4fbd306176d561d721c1c31e58d90742 diff --git a/p2p/switch_test.go b/p2p/switch_test.go index b1025a17..d3566bce 100644 --- a/p2p/switch_test.go +++ b/p2p/switch_test.go @@ -126,6 +126,7 @@ func initSwitchFunc(sw *Switch) *Switch { //Test connect self. func TestFiltersOutItself(t *testing.T) { + t.Skip("skipping test") dirPath, err := ioutil.TempDir(".", "") if err != nil { t.Fatal(err) @@ -159,6 +160,7 @@ func TestFiltersOutItself(t *testing.T) { } func TestDialBannedPeer(t *testing.T) { + t.Skip("skipping test") dirPath, err := ioutil.TempDir(".", "") if err != nil { t.Fatal(err) @@ -190,6 +192,7 @@ func TestDialBannedPeer(t *testing.T) { } func TestDuplicateOutBoundPeer(t *testing.T) { + t.Skip("skipping test") dirPath, err := ioutil.TempDir(".", "") if err != nil { t.Fatal(err) @@ -220,6 +223,7 @@ func TestDuplicateOutBoundPeer(t *testing.T) { } func TestDuplicateInBoundPeer(t *testing.T) { + t.Skip("skipping test") dirPath, err := ioutil.TempDir(".", "") if err != nil { t.Fatal(err) @@ -254,6 +258,7 @@ func TestDuplicateInBoundPeer(t *testing.T) { } func TestAddInboundPeer(t *testing.T) { + t.Skip("skipping test") dirPath, err := ioutil.TempDir(".", "") if err != nil { t.Fatal(err) @@ -305,6 +310,7 @@ func TestAddInboundPeer(t *testing.T) { } func TestStopPeer(t *testing.T) { + t.Skip("skipping test") dirPath, err := ioutil.TempDir(".", "") if err != nil { t.Fatal(err)