Base solution for your next web application
Open Closed

Unit tests sometimes throw Timeout exceptions #2257


User avatar
0
pradippatil created

Hi,

Unit tests sometimes throw Timeout exception. What can be the cause of this exception? Running the same test again passes successfully, timeout error is inconsistent, sometimes it occurs sometimes not.

Below is the error message: System.Data.Entity.Infrastructure.CommitFailedException : An error was reported while committing a database transaction but it could not be determined whether the transaction succeeded or failed on the database server. See the inner exception and <a class="postlink" href="http://go.microsoft.com/fwlink/?LinkId=313468">http://go.microsoft.com/fwlink/?LinkId=313468</a> for more information. ---- System.Transactions.TransactionAbortedException : The transaction has aborted. -------- System.TimeoutException : Transaction Timeout

Thanks


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    We know this issue but couldn't find the reason yet. You can follow this issue <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1751">https://github.com/aspnetboilerplate/as ... ssues/1751</a>.