MSTest超时问题 [英] MSTest timeout question
问题描述
你好,
当使用MSTest执行我们的BVT时,我们有时会在5次测试超时后看到超时错误,每次超过30分钟。有谁知道我们是否可以在MSTest中止之前配置允许的最大挂起测试次数以及如何操作?
Hello,
When using MSTest to execute our BVTs, we sometimes see a timeout error after 5 tests timeout, each after 30 minutes. Does anyone know whether we can configure the maximum number of hung tests allowed before MSTest aborts and how to do it?
错误    6/14/2010 5:45:40 AM 测试运行正在"MACHINE-ABC"中止,挂起测试的数量超过最大允许值"5"。 MACHINE-ABC
谢谢,
推荐答案
默认设置每次测试30分钟超时 在测试配置中。
30 minutes timeout per test is set by default in test configuration.
您可以在Test Manage-> Testing 中找到它们。 (如果您使用它),或者在VS-> Menu-> Tests->编辑测试设置(在此之前使用您的测试打开解决方案)。
You can find them in Test Manage->Testing (if you use it), or in VS->Menu->Tests->Edit test settings (open solution with your test before this).
这篇关于MSTest超时问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!