aspnet/EntityFramework — pull request #486 by lajones (2014-08-04 18:54:21+00:00)
Title: Fix to more reliably kill redis-server

@pranavkm @anpete Have been having problems where the redis server started by the tests is not killed and then interferes with other builds because it is still holding onto a file which TeamCity wants to clean up.

Here I'm updating to find the process by name and ensure any such outstanding process is killed at the end of the tests.

For the moment am doing this in the ClassFixture.Dispose() method which works reliably for both VS and "k test". Overriding the XunitFramework and killing the server there worked for running the tests in VS but not for running "k test". Will look into why this is happening but since at the moment we only have 1 test class this works fine for now.