Azure DevOps Pipeline 测试显示部分成功

Jdo*_*123 2 automated-tests azure-devops azure-pipelines

我最近将我的测试添加到 Azure DevOps 管道,但是当我在发布管道中运行测试时,我收到以下错误和一个黄色符号,表示部分成功。我该如何解决这个问题?

The STDIO streams did not close within 10 seconds of the exit event from process 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe'. This may indicate a child process inherited the STDIO streams and has not yet exited.
2019-05-02T08:36:57.6622077Z ##[warning]Vstest failed with error. Check logs for failures. There might be failed tests.
2019-05-02T08:36:57.6713607Z ##[error]Error: The process 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe' failed with exit code 1
Run Code Online (Sandbox Code Playgroud)

Ami*_*nes 5

这可能是因为选择了“控制选项”下的“出错时继续”。

在此处输入图片说明

从文档:

Task 元素的 ContinueOnError 属性控制在发生任务失败时构建是停止还是继续。此属性还控制在构建继续时将错误视为错误还是警告。

更多关于继续出错。

更新图片:

在此处输入图片说明