hi,
i am doing a unit test against my project. in one case, i have to stop the sql server and verify if my application could handle such exception elegantly.
but i found the after this test case has run, any test case run after it would fail if the test case need to access the database. and the error was 'transportation level error'.
in each test case, i will setup a new sql connection and close it gracefully. i think the test cases are isolated very well. i do not understand why restarting the sql server would cause such error.
currently, i will have to hit the sql server myself after it is restarted. i think it is really an ugly fix.