diff options
author | Vijay Vasudevan <vrv@google.com> | 2017-02-16 13:11:04 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-02-16 13:26:23 -0800 |
commit | 57d5fe2294ed7f0ca520570c8bf5d85acfd3f039 (patch) | |
tree | 57f8e53f9f4b184559c32ec342f7c376a791250a | |
parent | 6e5af47ab9e5b907debe287e8c62b5eaf65863b1 (diff) |
Temporarily disable large graph tests that may be causing
timeouts on test infra.
Change: 147757378
-rw-r--r-- | tensorflow/python/kernel_tests/constant_op_test.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tensorflow/python/kernel_tests/constant_op_test.py b/tensorflow/python/kernel_tests/constant_op_test.py index e502d58895..fe93a30668 100644 --- a/tensorflow/python/kernel_tests/constant_op_test.py +++ b/tensorflow/python/kernel_tests/constant_op_test.py @@ -170,8 +170,9 @@ class ConstantTest(test.TestCase): constant_op.constant([1, 2, 3, 4, 5, 6, 7], shape=[5]) # pylint: enable=g-long-lambda - - def testTooLargeConstant(self): + # TODO(b/35396543): Temporarily disable: suspicion that + # this is causing test timeouts. + def _testTooLargeConstant(self): with ops.Graph().as_default(): large_array = np.zeros((512, 1024, 1024), dtype=np.float32) with self.assertRaisesRegexp( @@ -179,7 +180,9 @@ class ConstantTest(test.TestCase): "Cannot create a tensor proto whose content is larger than 2GB."): c = constant_op.constant(large_array) - def testTooLargeGraph(self): + # TODO(b/35396543): Temporarily disable: suspicion that + # this is causing test timeouts. + def _testTooLargeGraph(self): with ops.Graph().as_default() as g: large_array = np.zeros((256, 1024, 1024), dtype=np.float32) c = constant_op.constant(large_array) |