diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dae674020..d8cff8e87 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -199,7 +199,7 @@ jobs: docker run --rm -w /srs/trunk/3rdparty/srs-bench srs:test \ ./objs/srs_blackbox_test -test.v -test.run '^TestFast' -test.parallel 64 docker run --rm -w /srs/trunk/3rdparty/srs-bench srs:test \ - ./objs/srs_blackbox_test -test.v -test.run '^TestSlow' -test.parallel 2 + ./objs/srs_blackbox_test -test.v -test.run '^TestSlow' -test.parallel 4 runs-on: ubuntu-20.04 coverage: diff --git a/trunk/3rdparty/srs-bench/blackbox/hevc_test.go b/trunk/3rdparty/srs-bench/blackbox/hevc_test.go index 8e66526ae..e313d19ef 100644 --- a/trunk/3rdparty/srs-bench/blackbox/hevc_test.go +++ b/trunk/3rdparty/srs-bench/blackbox/hevc_test.go @@ -379,7 +379,7 @@ func TestSlow_RtmpPublish_HlsPlay_HEVC_Basic(t *testing.T) { ffprobe := NewFFprobe(func(v *ffprobeClient) { v.dvrFile = path.Join(svr.WorkDir(), "objs", fmt.Sprintf("srs-ffprobe-%v.ts", streamID)) v.streamURL = fmt.Sprintf("http://localhost:%v/live/%v.m3u8", svr.HTTPPort(), streamID) - v.duration, v.timeout = duration, time.Duration(*srsFFprobeTimeout)*time.Millisecond * 2 + v.duration, v.timeout = duration, time.Duration(*srsFFprobeTimeout)*time.Millisecond*2 }) wg.Add(1) go func() {