Commit d8adf9e
authored
Fix rpc test issue (#5291)
Currently in the rpc test, a shared fakeStream is used among multiple
runs. This will accumulate the Send data and make the test failed with
the latest github.com/stretchr/testify v1.11.1 version.
The issue is ignored in the current testify v1.11.0 version due to an
incomplete validation.
The patchset fixes the issue by creating a new fakeStream in each run.
Change-Id: Icab00394dd7635fb552379cbfdf1fe111087b7db
Signed-off-by: Baohua Yang <[email protected]>1 parent e1c5a1f commit d8adf9e
1 file changed
+13
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | 213 | | |
215 | 214 | | |
216 | 215 | | |
217 | 216 | | |
218 | 217 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 218 | | |
231 | 219 | | |
232 | 220 | | |
| |||
272 | 260 | | |
273 | 261 | | |
274 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
275 | 274 | | |
276 | 275 | | |
277 | 276 | | |
| |||
282 | 281 | | |
283 | 282 | | |
284 | 283 | | |
285 | | - | |
| 284 | + | |
286 | 285 | | |
287 | 286 | | |
288 | 287 | | |
| |||
303 | 302 | | |
304 | 303 | | |
305 | 304 | | |
306 | | - | |
| 305 | + | |
307 | 306 | | |
308 | 307 | | |
309 | 308 | | |
| |||
0 commit comments