Commit 79aff47
authored
Feature/refactor delete channel test to async (#133)
* Fix state update after `channel.truncated` event with a past date
* Add waiting for new message.received event when truncating in a unit test + add max waiting of 60s for a condition
* Add IStreamChannel.FreezeAsync & IStreamChannel.UnfreezeAsync + add unit tests
* Refactor When_deleting_existing_channel_expect_success to async/await and wrap in ConnectAndExecute in order to handle rate exceeded error with additional delay1 parent 673a470 commit 79aff47
2 files changed
Lines changed: 14 additions & 19 deletions
File tree
- Assets/Plugins/StreamChat/Tests/LowLevelClient/Integration
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
| 126 | + | |
128 | 127 | | |
129 | 128 | | |
130 | 129 | | |
| |||
253 | 252 | | |
254 | 253 | | |
255 | 254 | | |
256 | | - | |
| 255 | + | |
257 | 256 | | |
258 | 257 | | |
259 | 258 | | |
| |||
285 | 284 | | |
286 | 285 | | |
287 | 286 | | |
288 | | - | |
| 287 | + | |
| 288 | + | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| |||
Lines changed: 8 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
316 | | - | |
317 | | - | |
| 315 | + | |
| 316 | + | |
318 | 317 | | |
319 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
320 | 321 | | |
321 | | - | |
322 | | - | |
323 | | - | |
| 322 | + | |
324 | 323 | | |
325 | 324 | | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
| 325 | + | |
| 326 | + | |
332 | 327 | | |
333 | 328 | | |
334 | 329 | | |
| |||
0 commit comments