单元测试:超时到期异常发生

编程入门 行业动态 更新时间:2024-10-25 04:23:50
本文介绍了单元测试:超时到期异常发生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我尝试运行单元测试项目来加载100条记录但是在运行项目时出现异常,请给我解决方案。 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 查看此博客文章 blogs.msdn/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 blogs.msdn/b/spike/archive/2008/08/25/timeout-expired-the-timeout-period-elapsed-prior-to-obtaining-a-connection-from-the-pool.aspx[^] Regards, Vijay

更多推荐

单元测试:超时到期异常发生

本文发布于:2023-10-31 05:06:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1545088.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:单元测试   异常   发生

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!