Commit aec0b28
committed
Pass TimeoutTimer to WaitHandleDbConnectionPool.TryGetConnection in shutdown tests
Same root cause as previous commit: PR 4295 added a required TimeoutTimer parameter to WaitHandleDbConnectionPool.TryGetConnection. The shutdown tests still call the old 3-arg overload, which fails CI once PR 4295 is merged into main. Pass TimeoutTimer.StartNew(TimeSpan.FromSeconds(15)) at all 5 call sites in WaitHandleDbConnectionPoolShutdownTest.cs to match the new 4-arg signature.1 parent 9a45a66 commit aec0b28
1 file changed
Lines changed: 5 additions & 3 deletions
File tree
- src/Microsoft.Data.SqlClient/tests/UnitTests/ConnectionPool
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
170 | | - | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| |||
0 commit comments