gpt4 book ai didi

mono - 使用单声道挂起的 Travis 上的 dnx 测试

转载 作者:行者123 更新时间:2023-12-04 23:09:48 25 4
gpt4 key购买 nike

我正在尝试运行我的 ASP.NET 5.0(测试版 8)测试,该测试使用 语言:CSharp 作为构建环境在 Travis CI 上使用 xunit。

项目构建良好,安装 dnvm 后,我使用 dnx test 运行测试。

但是,无论测试通过还是失败,我都会在一段时间后收到以下消息:

No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with the build itself.
The build has been terminated

我认为发生这种情况是因为 dnx test 命令在测试完成后不会将控制权交还给 Travis 控制台。 Travis 认为它​​仍在运行,但没有产生任何输出。

我认为这与 https://github.com/xunit/xunit/issues/489 有关Mono 中的这个错误:https://bugzilla.xamarin.com/show_bug.cgi?id=28793但那个帖子说它已于 2015 年 5 月修复,我正在运行最新版本的 Mono (4.0.4)。

最佳答案

这可能是由已知错误引起的。尝试在没有并行化的情况下运行测试,看看是否有帮助:

dnx test -parallel none

您也应该能够在本地重现该问题。

关于mono - 使用单声道挂起的 Travis 上的 dnx 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33581380/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com