Commit 58ef7a1
committed
[tests] make Mock Client use a concurrent DispatchQueue
* When testing concurrency, the Mock Client actually was synchronizing the requests, so crashes were not reproducible
* By changing to a concurrent DispatchQueue, this is more reflective of the real Client's behavior1 parent 899541c commit 58ef7a1
File tree
1 file changed
+5
-2
lines changed- iOS_SDK/OneSignalSDK/OneSignalCoreMocks
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
0 commit comments