Update CI configs to v0.4.13

Update lint scripts and CI configs.
This commit is contained in:
Pion
2020-11-14 14:32:37 -08:00
committed by Sean DuBois
parent 1a4dd6394c
commit 8e706b1d41
2 changed files with 1 additions and 20 deletions
+1
View File
@@ -28,6 +28,7 @@ jobs:
run: |
go test \
-coverprofile=cover.out -covermode=atomic \
-bench=. \
${TEST_EXTRA_ARGS:-} \
-v -race ${TEST_PACKAGES}
-20
View File
@@ -156,26 +156,6 @@ func stressDuplex(t *testing.T) {
}
}
func Benchmark(b *testing.B) {
ca, cb := pipe(nil)
defer func() {
err := ca.Close()
check(err)
err = cb.Close()
check(err)
}()
b.ResetTimer()
opt := test.Options{
MsgSize: 128,
MsgCount: b.N,
}
err := test.StressDuplex(ca, cb, opt)
check(err)
}
func check(err error) {
if err != nil {
panic(err)