Skip to content

Commit

Permalink
Fix reliatibility test
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Hugot committed Dec 10, 2022
1 parent 602aef2 commit fdda057
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public void DropDatabaseWithActiveConnection(string cnnString, SqlRetryLogicBase
cnn2.Open();
cnn3.Open();

// kill the active connection to the database after the first faliure.
// kill the active connection to the database after the first failure.
provider.Retrying += (s, e) =>
{
currentRetries = e.RetryCount;
Expand All @@ -274,7 +274,7 @@ public void DropDatabaseWithActiveConnection(string cnnString, SqlRetryLogicBase
using (var cmd3 = cnn3.CreateCommand())
{
cmd3.CommandText = $"KILL {cnn2.ServerProcessId}";
cmd3.ExecuteNonQueryAsync();
cmd3.ExecuteNonQuery();
}
cnn2.Close();
}
Expand Down

0 comments on commit fdda057

Please sign in to comment.