diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-01-18 22:33:08 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-01-18 22:49:03 -0800 |
commit | e5c4e9d091396ebf6cb8fd801f44fe94b40275b8 (patch) | |
tree | d703bbe9554fe310b541f2b6397032bcc2cc65f0 | |
parent | d00d06d6085e0381e65fa94dc5dc4c4459a23b90 (diff) |
Add @Ignore instead of commenting out @Test for tests that need
to be disabled.
Change: 144924509
-rw-r--r-- | tensorflow/java/src/test/java/org/tensorflow/OperationBuilderTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tensorflow/java/src/test/java/org/tensorflow/OperationBuilderTest.java b/tensorflow/java/src/test/java/org/tensorflow/OperationBuilderTest.java index b13f830631..cb3de5f744 100644 --- a/tensorflow/java/src/test/java/org/tensorflow/OperationBuilderTest.java +++ b/tensorflow/java/src/test/java/org/tensorflow/OperationBuilderTest.java @@ -17,6 +17,7 @@ package org.tensorflow; import static org.junit.Assert.fail; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -26,7 +27,8 @@ import org.junit.runners.JUnit4; public class OperationBuilderTest { // TODO(ashankar): Restore this test once the C API gracefully handles mixing graphs and // operations instead of segfaulting. - // @Test + @Test + @Ignore public void failWhenMixingOperationsOnDifferentGraphs() { try (Graph g1 = new Graph(); Graph g2 = new Graph()) { |