Commit 5b5aade
committed
Make Materialize.testMultipleSubscribes test deterministic
Refactored to use BlockingObservable instead of non-blocking subscribe and waiting on the underlying thread (it was only waiting on one of two threads running).
This should resolve one of the issues reported in http://github.com/Netflix/RxJava/issues/3291 parent 1cc2f6a commit 5b5aade
File tree
1 file changed
+7
-18
lines changed- rxjava-core/src/main/java/rx/operators
1 file changed
+7
-18
lines changedLines changed: 7 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 143 | + | |
| 144 | + | |
152 | 145 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 146 | + | |
158 | 147 | | |
159 | | - | |
160 | | - | |
| 148 | + | |
| 149 | + | |
161 | 150 | | |
162 | 151 | | |
163 | 152 | | |
| |||
193 | 182 | | |
194 | 183 | | |
195 | 184 | | |
196 | | - | |
| 185 | + | |
197 | 186 | | |
198 | 187 | | |
199 | 188 | | |
| |||
0 commit comments