mirror of
https://github.com/ossrs/srs.git
synced 2025-02-14 20:31:56 +00:00
Test: Use long duration for HLS balckbox test.
This commit is contained in:
parent
b104826a96
commit
7a56208f2f
2 changed files with 2 additions and 2 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -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…
Reference in a new issue