Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
Use default test suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
backkem committed Jan 6, 2020
1 parent 2b84177 commit 0a5a6f1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 65 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ go 1.12

require (
github.com/ipfs/go-log v1.0.0
github.com/jbenet/go-detect-race v0.0.0-20150302022421-3463798d9574
github.com/libp2p/go-libp2p-core v0.3.0
github.com/libp2p/go-libp2p-mplex v0.2.1
github.com/libp2p/go-libp2p-testing v0.1.1
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ github.com/ipfs/go-log v0.0.1/go.mod h1:kL1d2/hzSpI0thNYjiKfjanbVNU+IIGA/WnNESY9
github.com/ipfs/go-log v1.0.0 h1:BW3LQIiZzpNyolt84yvKNCd3FU+AK4VDw1hnHR+1aiI=
github.com/ipfs/go-log v1.0.0/go.mod h1:JO7RzlMK6rA+CIxFMLOuB6Wf5b81GDiKElL7UPSIKjA=
github.com/jbenet/go-cienv v0.1.0/go.mod h1:TqNnHUmJgXau0nCzC7kXWeotg3J9W34CUv5Djy1+FlA=
github.com/jbenet/go-detect-race v0.0.0-20150302022421-3463798d9574 h1:Pxjl8Wn3cCU7nB/MCmPEUMbjMHxXFqODW6rce0jpxB4=
github.com/jbenet/go-detect-race v0.0.0-20150302022421-3463798d9574/go.mod h1:gynVu6LUw+xMXD3XEvjHQcIbJkWEamnGjJDebRHqTd0=
github.com/jbenet/goprocess v0.0.0-20160826012719-b497e2f366b8 h1:bspPhN+oKYFk5fcGNuQzp6IGzYQSenLEgH3s6jkXrWw=
github.com/jbenet/goprocess v0.0.0-20160826012719-b497e2f366b8/go.mod h1:Ly/wlsjFq/qrU3Rar62tu1gASgGw6chQbSh/XgIIXCY=
github.com/jbenet/goprocess v0.1.3 h1:YKyIEECS/XvcfHtBzxtjBBbWK+MbvA6dG8ASiqwvr10=
Expand Down
59 changes: 0 additions & 59 deletions transport_test.go

This file was deleted.

5 changes: 2 additions & 3 deletions webrtcdirect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
logging "github.com/ipfs/go-log"

mplex "github.com/libp2p/go-libp2p-mplex"
utils "github.com/libp2p/go-libp2p-testing/suites/transport"
ma "github.com/multiformats/go-multiaddr"
"github.com/pion/webrtc/v2"
)
Expand All @@ -24,9 +25,7 @@ func TestTransport(t *testing.T) {

addr := "/ip4/127.0.0.1/tcp/0/http/p2p-webrtc-direct"

// TODO: Re-enable normal test suite when not hitting CI limits when using race detector
// utils.SubtestTransport(t, ta, tb, addr, "peerA")
SubtestTransport(t, ta, tb, addr, "peerA")
utils.SubtestTransport(t, ta, tb, addr, "peerA")
}

func TestTransportCantListenUtp(t *testing.T) {
Expand Down

0 comments on commit 0a5a6f1

Please sign in to comment.