From c8fe934e6199eb5cfbc3b4790394c973aa4f2f2a Mon Sep 17 00:00:00 2001 From: Jiyong Huang Date: Mon, 20 Jan 2025 10:56:50 +0800 Subject: [PATCH] chore(test): update video pull error code Signed-off-by: Jiyong Huang --- extensions/impl/video/source_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/impl/video/source_test.go b/extensions/impl/video/source_test.go index a4128c54b6..419bf8e20e 100644 --- a/extensions/impl/video/source_test.go +++ b/extensions/impl/video/source_test.go @@ -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. @@ -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",