单元测试:超时到期异常发生 [英] Unit testing :Timeout expired exception occuerd
本文介绍了单元测试:超时到期异常发生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试运行单元测试项目来加载100条记录但是在运行项目时出现异常,请给我解决方案。< br $>
System.InvalidOperationException:超时已过期。从池中获取连接之前经过的超时时间。这可能是因为所有池化连接都在使用并且达到了最大池大小。
I am try to run unit test project to load 100 record but below exception occur while running the project, Please give me solution for that.
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
推荐答案
Hi Shital
查看此博客文章
http://blogs.msdn.com/b/spike/archive/2008/08 /25/timeout-expired-the-timeout-period-elapsed-prior-to-obtaining-a-connection-from-the-pool.aspx [ ^ ]
问候,
Vijay
Hi Shital
Check this blog post
http://blogs.msdn.com/b/spike/archive/2008/08/25/timeout-expired-the-timeout-period-elapsed-prior-to-obtaining-a-connection-from-the-pool.aspx[^]
Regards,
Vijay
这篇关于单元测试:超时到期异常发生的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文