Skip to content

Commit e5575b9

Browse files
authored
4.x: Isolate FlowableMergeTest.synchronizationOfMultipleSequencesLoop (#8078)
1 parent e81cfaf commit e5575b9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/java/io/reactivex/rxjava4/internal/operators/flowable/FlowableMergeTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020

2121
import java.util.*;
2222
import java.util.concurrent.*;
23+
import java.util.concurrent.Flow.*;
2324
import java.util.concurrent.atomic.*;
2425

2526
import org.junit.*;
26-
import static java.util.concurrent.Flow.*;
27+
import org.junit.jupiter.api.parallel.Isolated;
2728

2829
import io.reactivex.rxjava4.core.*;
2930
import io.reactivex.rxjava4.core.Scheduler.Worker;
@@ -39,6 +40,7 @@
3940
import io.reactivex.rxjava4.subscribers.*;
4041
import io.reactivex.rxjava4.testsupport.*;
4142

43+
@Isolated
4244
public class FlowableMergeTest extends RxJavaTest {
4345

4446
Subscriber<String> stringSubscriber;
@@ -213,7 +215,7 @@ public void mergeArrayWithThreading() {
213215
verify(stringSubscriber, times(1)).onComplete();
214216
}
215217

216-
@Test
218+
@org.junit.jupiter.api.Test
217219
public void synchronizationOfMultipleSequencesLoop() throws Throwable {
218220
for (int i = 0; i < 100; i++) {
219221
System.out.println("testSynchronizationOfMultipleSequencesLoop > " + i);

0 commit comments

Comments
 (0)