Software versions
MySqlConnector version: 2.4.0
Describe the bug
|
await Assert.ThrowsAnyAsync<Exception>(async () => await connection.ResetConnectionAsync().ConfigureAwait(false)); |
This recent test shows that ResetConnectionAsync throws a SocketException (or some other .NET exception for an I/O error).
Expected behavior
It should be wrapped in a MySqlException, like all other I/O exceptions.