Disable flaky test.

PiperOrigin-RevId: 254310218
This commit is contained in:
Jonathan Hseu 2019-06-20 18:03:57 -07:00 committed by TensorFlower Gardener
parent ffc6b92b28
commit 155207e65f

View File

@ -22,7 +22,7 @@ import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail; import static org.junit.Assert.fail;
import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicBoolean;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.junit.runners.JUnit4; import org.junit.runners.JUnit4;
@ -59,7 +59,9 @@ public class EagerSessionTest {
assertTrue(deleted.get()); assertTrue(deleted.get());
} }
@Test // TODO(b/135541743): Re-enable once fixed.
// Disabled due to flakiness with -c opt --config=cuda
@Ignore
public void cleanupResourceOnSafePoints() { public void cleanupResourceOnSafePoints() {
AtomicBoolean deleted = new AtomicBoolean(); AtomicBoolean deleted = new AtomicBoolean();