Bump odlparent dependency to 2.0.0
[yangtools.git] / common / util / src / test / java / org / opendaylight / yangtools / util / concurrent / AsyncNotifyingListeningExecutorServiceTest.java
index bbcb87f148e1fe30a6874f9d0038b4dc8752e909..e954795fbdddc48a68b65f9cb12efeb1d0109529 100644 (file)
@@ -22,6 +22,7 @@ import static org.opendaylight.yangtools.util.concurrent.CommonTestUtils.SUBMIT_
 import com.google.common.util.concurrent.FutureCallback;
 import com.google.common.util.concurrent.Futures;
 import com.google.common.util.concurrent.ListenableFuture;
+import com.google.common.util.concurrent.MoreExecutors;
 import com.google.common.util.concurrent.ThreadFactoryBuilder;
 import java.util.ArrayList;
 import java.util.List;
@@ -153,7 +154,7 @@ public class AsyncNotifyingListeningExecutorServiceTest {
                 // Shouldn't happen
                 fail("Unexpected failure " + t);
             }
-        });
+        }, MoreExecutors.directExecutor());
     }
 
     @Test