File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ public async Task State()
74
74
Assert . Equal ( ConnectionState . Open , connection . State ) ;
75
75
await connection . CloseAsync ( ) ;
76
76
Assert . Equal ( ConnectionState . Closed , connection . State ) ;
77
+ await connection . OpenAsync ( ) ;
78
+ Assert . Equal ( ConnectionState . Open , connection . State ) ;
77
79
}
78
80
79
81
[ SkippableFact ( ConfigSettings . TcpConnection , Baseline = "https://bugs.mysql.com/bug.php?id=81650" ) ]
Original file line number Diff line number Diff line change @@ -159,6 +159,8 @@ public void State()
159
159
Assert . Equal ( ConnectionState . Open , connection . State ) ;
160
160
connection . Close ( ) ;
161
161
Assert . Equal ( ConnectionState . Closed , connection . State ) ;
162
+ connection . Open ( ) ;
163
+ Assert . Equal ( ConnectionState . Open , connection . State ) ;
162
164
}
163
165
164
166
[ Fact ]
You can’t perform that action at this time.
0 commit comments