Skip to content

Commit

Permalink
chore(test): update video pull error code
Browse files Browse the repository at this point in the history
Signed-off-by: Jiyong Huang <huangjy@emqx.io>
  • Loading branch information
ngjaying committed Jan 20, 2025
1 parent 034ee1f commit c8fe934
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/impl/video/source_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 EMQ Technologies Co., Ltd.
// Copyright 2024-2025 EMQ Technologies Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -92,7 +92,7 @@ func TestPull(t *testing.T) {
}

func TestPullError(t *testing.T) {
exp := errors.New("read frame failed, err:exit status 1")
exp := errors.New("read frame failed, err:exit status 8")
r := GetSource()
mock.TestSourceConnector(t, r, map[string]any{
"url": "https://gcwbndtxy.liveplay.myqcloud.com/gcwbnd/xiongmao24_2_td.m3u8",
Expand Down

0 comments on commit c8fe934

Please sign in to comment.