Test: Use long duration for HLS balckbox test.

pull/3362/head
winlin 2 years ago
parent b104826a96
commit 7a56208f2f

@ -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:

@ -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() {

Loading…
Cancel
Save