efcore: Investigate test regression in SQL Client on Linux
Possible regression in SqlClient? Started getting failures on Linux after upgrading version of SqlClient. Needs investigation.
Microsoft.EntityFrameworkCore.SqlServer.Tests.SqlServerConnectionTest.Creates_SQL_Server_connection_string [FAIL]
System.NotSupportedException : The keyword 'integrated security' is not supported on this platform.
Stack Trace:
at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous)
at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions)
at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key)
at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value)
at System.Data.SqlClient.SqlConnection..ctor(String connectionString)
at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerConnection.CreateDbConnection()
at Microsoft.EntityFrameworkCore.Internal.LazyRef`1.get_Value()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.get_DbConnection()
at Microsoft.EntityFrameworkCore.SqlServer.Tests.SqlServerConnectionTest.Creates_SQL_Server_connection_string()
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 19 (16 by maintainers)
Commits related to this issue
- Remove Integrated Security/Trusted_Connection from dummy strings Since it seems SQLClient on Linux is now verifying these Issue #4915 — committed to dotnet/efcore by ajcvickers 8 years ago
- Remove Integrated Security/Trusted_Connection from dummy strings Since it seems SQLClient on Linux is now verifying these Issue #4915 — committed to dotnet/efcore by ajcvickers 8 years ago
But the test sets Trusted_Connection, which is an alias for integrated security: https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring(v=vs.110).aspx