aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/debug
diff options
context:
space:
mode:
authorGravatar Shanqing Cai <cais@google.com>2017-02-11 23:11:36 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-02-11 23:25:38 -0800
commit3e87038e9e1436e1b4cb593f08f3c5d59b7f06b9 (patch)
tree59170559232b91212af67cbf372d89f16a822371 /tensorflow/core/debug
parente6c776d5e1ead6aa116fd27b9e8b8fcb33693dd7 (diff)
tfdbg core: temporarily disable flaky test on GPU
RunSimpleNetworkConcurrentlyWithDifferentDebugTensorWatches in debug_gateway_test has been flaky on GPU at a rate of ~0.5%. This CL restrict this test method to CPU only until the underlying root cause of the flakiness is addressed. Change: 147269341
Diffstat (limited to 'tensorflow/core/debug')
-rw-r--r--tensorflow/core/debug/debug_gateway_test.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/tensorflow/core/debug/debug_gateway_test.cc b/tensorflow/core/debug/debug_gateway_test.cc
index 963cea8419..d6f656c5ca 100644
--- a/tensorflow/core/debug/debug_gateway_test.cc
+++ b/tensorflow/core/debug/debug_gateway_test.cc
@@ -336,6 +336,10 @@ TEST_F(SessionDebugMinusAXTest, RunSimpleNetworkWithTwoDebugNodesInserted) {
ASSERT_EQ(1, debug_nan_count_tensor_vals[0].scalar<int64>()());
}
+#ifndef GOOGLE_CUDA
+// TODO(cais): Reinstate the following test for concurrent debugged runs on
+// a GPU once the root cause of the ~0.5% flakiness has been addressed.
+// (b/34081273)
TEST_F(SessionDebugMinusAXTest,
RunSimpleNetworkConcurrentlyWithDifferentDebugTensorWatches) {
// Test concurrent Run() calls on a graph with different debug watches.
@@ -442,11 +446,7 @@ TEST_F(SessionDebugMinusAXTest,
&outputs, &run_metadata);
TF_ASSERT_OK(s);
-#if GOOGLE_CUDA
- ASSERT_EQ(2, run_metadata.partition_graphs().size());
-#else
ASSERT_EQ(1, run_metadata.partition_graphs().size());
-#endif
ASSERT_EQ(1, outputs.size());
ASSERT_TRUE(outputs[0].IsInitialized());
@@ -490,6 +490,7 @@ TEST_F(SessionDebugMinusAXTest,
ASSERT_EQ(-1.0, y_mat_identity(1, 0));
}
}
+#endif
class SessionDebugOutputSlotWithoutOngoingEdgeTest : public ::testing::Test {
public: