fixed failing integration tests (#512)

* fixed failing integration tests

* close connection after test

* undo close connection
This commit is contained in:
Aditya Bist
2017-10-21 11:10:38 -07:00
committed by Karl Burtram
parent e9bc97e290
commit 97fa99a713
4 changed files with 14 additions and 11 deletions

View File

@@ -734,6 +734,7 @@ namespace Microsoft.SqlTools.ServiceLayer.IntegrationTests.Connection
var retryPolicy = connection.CommandRetryPolicy;
connection.CommandRetryPolicy = retryPolicy;
Assert.True(connection.CommandRetryPolicy == retryPolicy);
connection.Open();
connection.ChangeDatabase("master");
Assert.True(connection.ConnectionTimeout > 0);
connection.ClearPool();