Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ public ZKSessionWatcher(ZooKeeper zk, Consumer<SessionEvent> sessionListener) {
this.scheduler = Executors
.newSingleThreadScheduledExecutor(new DefaultThreadFactory("metadata-store-zk-session-watcher"));
this.task =
scheduler.scheduleAtFixedRate(catchingAndLoggingThrowables(this::checkConnectionStatus), tickTimeMillis,
scheduler.scheduleWithFixedDelay(
catchingAndLoggingThrowables(this::checkConnectionStatus), tickTimeMillis,
tickTimeMillis,
TimeUnit.MILLISECONDS);
this.currentStatus = SessionEvent.SessionReestablished;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import org.awaitility.Awaitility;
import org.testng.annotations.Test;

@Test(groups = "quarantine")
@Test
public class ZKSessionTest extends BaseMetadataStoreTest {

@Test
Expand Down