We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cac455d commit 1aeabfaCopy full SHA for 1aeabfa
hystrix-core/src/test/java/com/netflix/hystrix/HystrixObservableCommandTest.java
@@ -128,7 +128,7 @@ public void testCompletable() throws InterruptedException {
128
final CountDownLatch latch = new CountDownLatch(1);
129
final HystrixObservableCommand<Integer> command = new CompletableCommand();
130
131
- (new CompletableCommand()).observe().subscribe(new Subscriber<Integer>() {
+ command.observe().subscribe(new Subscriber<Integer>() {
132
@Override
133
public void onCompleted() {
134
System.out.println(System.currentTimeMillis() + " : " + Thread.currentThread().getName() + " OnCompleted");
0 commit comments