X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fhosttracker%2Fimplementation%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fhosttracker%2Finternal%2FHostTrackerCallable.java;h=303308270d77d36eb803b42feca3096bbfeed0fb;hb=67a8679ab2eb3ad8d7914756e844243eac3cbd32;hp=06311a5206268ae79fe8ebe32970a395423cf162;hpb=9c8108faabf300747a2a5529dc7a8ef76e79c2bc;p=controller.git diff --git a/opendaylight/hosttracker/implementation/src/main/java/org/opendaylight/controller/hosttracker/internal/HostTrackerCallable.java b/opendaylight/hosttracker/implementation/src/main/java/org/opendaylight/controller/hosttracker/internal/HostTrackerCallable.java index 06311a5206..303308270d 100644 --- a/opendaylight/hosttracker/implementation/src/main/java/org/opendaylight/controller/hosttracker/internal/HostTrackerCallable.java +++ b/opendaylight/hosttracker/implementation/src/main/java/org/opendaylight/controller/hosttracker/internal/HostTrackerCallable.java @@ -42,7 +42,7 @@ public class HostTrackerCallable implements Callable { if (h != null) return h; hostTracker.setCallableOnPendingARP(trackedHost, this); - latch.await(); + Thread.sleep(2000); // wait 2sec to see if the host responds return hostTracker.hostQuery(trackedHost); }