tfdbg: deflake session_debug_file_test
authorShanqing Cai <cais@google.com>
Tue, 6 Feb 2018 20:27:02 +0000 (12:27 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 6 Feb 2018 20:51:02 +0000 (12:51 -0800)
by disabling grappler in the test.

PiperOrigin-RevId: 184721353

tensorflow/python/debug/lib/session_debug_testlib.py

index 20a4001..f4fac14 100644 (file)
@@ -988,7 +988,7 @@ class SessionDebugTestBase(test_util.TensorFlowTestCase):
   def testWatchingVariableUpdateOpsSeesUpdatedValues(self):
     """Watch output slots on Variable-updating ops, with no emitted edges."""
 
-    with session.Session() as sess:
+    with session.Session(config=no_rewrite_session_config()) as sess:
       u_init = constant_op.constant(10.0)
       u = variables.Variable(u_init, name="gdo/u")
       v_init = constant_op.constant(20.0)