aspnet / Identity

[Archived] ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
1.96k stars 868 forks source link

Flaky tests: CanChainRoleValidators et all #1823

Closed ryanbrandenburg closed 6 years ago

ryanbrandenburg commented 6 years ago

We see this message popping up a lot in failing identity builds on VSTS and appveyor:

System.Data.SqlClient.SqlException : Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=45447; handshake=27; 
---- System.ComponentModel.Win32Exception : The wait operation timed out.
HaoK commented 6 years ago

@ajcvickers has EF started using VSTS at all? It looks like all the identity SqlServer tests are timing out/failing in these kinds of builds now. This hasn't been an issue in the past so I wonder if there's something different about the configuration (timeout too low?)

ryanbrandenburg commented 6 years ago

EF does build against VSTS, but they might also be using different timeout settings.

HaoK commented 6 years ago

Dupe of https://github.com/aspnet/Identity/issues/1895