diff --git a/test/Microsoft.SqlTools.ServiceLayer.IntegrationTests/QueryExecution/ExecuteTests.cs b/test/Microsoft.SqlTools.ServiceLayer.IntegrationTests/QueryExecution/ExecuteTests.cs index fabaad12..fb06f8c8 100644 --- a/test/Microsoft.SqlTools.ServiceLayer.IntegrationTests/QueryExecution/ExecuteTests.cs +++ b/test/Microsoft.SqlTools.ServiceLayer.IntegrationTests/QueryExecution/ExecuteTests.cs @@ -1,5 +1,5 @@  -using System.Collections.Generic; +using System.Collections.Concurrent; using System.Data.Common; using Microsoft.SqlTools.ServiceLayer.Connection; using Microsoft.SqlTools.ServiceLayer.IntegrationTests.Utility; @@ -60,7 +60,7 @@ namespace Microsoft.SqlTools.ServiceLayer.IntegrationTests.QueryExecution // Given a connection to a live database var result = LiveConnectionHelper.InitLiveConnectionInfo(); ConnectionInfo connInfo = result.ConnectionInfo; - var fileStreamFactory = MemoryFileSystem.GetFileStreamFactory(new Dictionary()); + var fileStreamFactory = MemoryFileSystem.GetFileStreamFactory(new ConcurrentDictionary()); // If I run a query creating a temp table CreateAndExecuteQuery(createTempText, connInfo, fileStreamFactory); @@ -83,7 +83,7 @@ namespace Microsoft.SqlTools.ServiceLayer.IntegrationTests.QueryExecution DbConnection connection; connInfo.TryGetConnection(ConnectionType.Default, out connection); - var fileStreamFactory = MemoryFileSystem.GetFileStreamFactory(new Dictionary()); + var fileStreamFactory = MemoryFileSystem.GetFileStreamFactory(new ConcurrentDictionary()); // If I use master, the current database should be master CreateAndExecuteQuery(string.Format(useQuery, master), connInfo, fileStreamFactory); diff --git a/test/Microsoft.SqlTools.ServiceLayer.Test.Common/MemoryFileSystem.cs b/test/Microsoft.SqlTools.ServiceLayer.Test.Common/MemoryFileSystem.cs index 0369cbc3..7e6e4cac 100644 --- a/test/Microsoft.SqlTools.ServiceLayer.Test.Common/MemoryFileSystem.cs +++ b/test/Microsoft.SqlTools.ServiceLayer.Test.Common/MemoryFileSystem.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.IO; using Microsoft.SqlTools.ServiceLayer.QueryExecution.DataStorage; using Microsoft.SqlTools.ServiceLayer.SqlContext; diff --git a/test/Microsoft.SqlTools.ServiceLayer.UnitTests/QueryExecution/Common.cs b/test/Microsoft.SqlTools.ServiceLayer.UnitTests/QueryExecution/Common.cs index 04487716..55115bc6 100644 --- a/test/Microsoft.SqlTools.ServiceLayer.UnitTests/QueryExecution/Common.cs +++ b/test/Microsoft.SqlTools.ServiceLayer.UnitTests/QueryExecution/Common.cs @@ -3,7 +3,6 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Concurrent; -using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq;