public async Task ShouldExtendLease() { var leaseId = await etcdClient.PutWithLease("test", "value", 1); await Task.Delay(1100); await etcdClient.KeepAliveLease(leaseId); await Task.Delay(1100); await etcdClient.KeepAliveLease(leaseId); await Task.Delay(1100); var res = await etcdClient.Get("test"); Assert.AreEqual("value", res); }