Skip to content

Commit 1aeabfa

Browse files
committed
Fix reference to CompletableCommand
1 parent cac455d commit 1aeabfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hystrix-core/src/test/java/com/netflix/hystrix/HystrixObservableCommandTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public void testCompletable() throws InterruptedException {
128128
final CountDownLatch latch = new CountDownLatch(1);
129129
final HystrixObservableCommand<Integer> command = new CompletableCommand();
130130

131-
(new CompletableCommand()).observe().subscribe(new Subscriber<Integer>() {
131+
command.observe().subscribe(new Subscriber<Integer>() {
132132
@Override
133133
public void onCompleted() {
134134
System.out.println(System.currentTimeMillis() + " : " + Thread.currentThread().getName() + " OnCompleted");

0 commit comments

Comments
 (0)