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

Commit 0a5a6f1

Browse files
committed
Use default test suite.
1 parent 2b84177 commit 0a5a6f1

File tree

4 files changed

+2
-65
lines changed

4 files changed

+2
-65
lines changed

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ go 1.12
44

55
require (
66
github.com/ipfs/go-log v1.0.0
7-
github.com/jbenet/go-detect-race v0.0.0-20150302022421-3463798d9574
87
github.com/libp2p/go-libp2p-core v0.3.0
98
github.com/libp2p/go-libp2p-mplex v0.2.1
109
github.com/libp2p/go-libp2p-testing v0.1.1

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ github.com/ipfs/go-log v0.0.1/go.mod h1:kL1d2/hzSpI0thNYjiKfjanbVNU+IIGA/WnNESY9
5757
github.com/ipfs/go-log v1.0.0 h1:BW3LQIiZzpNyolt84yvKNCd3FU+AK4VDw1hnHR+1aiI=
5858
github.com/ipfs/go-log v1.0.0/go.mod h1:JO7RzlMK6rA+CIxFMLOuB6Wf5b81GDiKElL7UPSIKjA=
5959
github.com/jbenet/go-cienv v0.1.0/go.mod h1:TqNnHUmJgXau0nCzC7kXWeotg3J9W34CUv5Djy1+FlA=
60-
github.com/jbenet/go-detect-race v0.0.0-20150302022421-3463798d9574 h1:Pxjl8Wn3cCU7nB/MCmPEUMbjMHxXFqODW6rce0jpxB4=
61-
github.com/jbenet/go-detect-race v0.0.0-20150302022421-3463798d9574/go.mod h1:gynVu6LUw+xMXD3XEvjHQcIbJkWEamnGjJDebRHqTd0=
6260
github.com/jbenet/goprocess v0.0.0-20160826012719-b497e2f366b8 h1:bspPhN+oKYFk5fcGNuQzp6IGzYQSenLEgH3s6jkXrWw=
6361
github.com/jbenet/goprocess v0.0.0-20160826012719-b497e2f366b8/go.mod h1:Ly/wlsjFq/qrU3Rar62tu1gASgGw6chQbSh/XgIIXCY=
6462
github.com/jbenet/goprocess v0.1.3 h1:YKyIEECS/XvcfHtBzxtjBBbWK+MbvA6dG8ASiqwvr10=

transport_test.go

Lines changed: 0 additions & 59 deletions
This file was deleted.

webrtcdirect_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
logging "github.com/ipfs/go-log"
77

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

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

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

3231
func TestTransportCantListenUtp(t *testing.T) {

0 commit comments

Comments
 (0)