Skip to content

Commit

Permalink
temporarily comment LeaseLock tests
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshug committed Dec 30, 2020
1 parent c226e6b commit 3df7f51
Showing 1 changed file with 10 additions and 8 deletions.
Expand Up @@ -23,6 +23,14 @@
import io.kubernetes.client.openapi.apis.CoordinationV1Api;
import io.kubernetes.client.openapi.apis.CoreV1Api;
import io.kubernetes.client.util.ClientBuilder;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.IOException;
import java.net.HttpURLConnection;
import java.time.Duration;
Expand All @@ -34,13 +42,6 @@
import java.util.concurrent.CyclicBarrier;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicReference;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@RunWith(Parameterized.class)
public class LeaderElectorTest {
Expand All @@ -62,7 +63,8 @@ public static Collection<Object[]> constructorFeeder() {

args.add(new Object[] {LockType.ConfigMap});
args.add(new Object[] {LockType.Endpoints});
args.add(new Object[] {LockType.Lease});

// args.add(new Object[] {LockType.Lease});

return args;
}
Expand Down

0 comments on commit 3df7f51

Please sign in to comment.