diff --git a/tensorflow/python/keras/BUILD b/tensorflow/python/keras/BUILD index 3c390cb2b00ad01740cb6063c7ad874395ac3964..361d88fe8334026bfadda6af2cac59b6d6d3c341 100755 --- a/tensorflow/python/keras/BUILD +++ b/tensorflow/python/keras/BUILD @@ -764,12 +764,7 @@ py_test( srcs = ["engine/training_test.py"], shard_count = 16, srcs_version = "PY2AND3", - tags = [ - "manual", # TODO(b/120560388) - "no_oss", # TODO(b/120560388) - "notap", # TODO(b/120560388) - "notsan", - ], + tags = ["notsan"], deps = [ ":keras", "//tensorflow/python:client_testlib", diff --git a/tensorflow/python/keras/engine/training_test.py b/tensorflow/python/keras/engine/training_test.py index a61e2edcd35186917377185270d610c165e0894a..9d56eb261dba2531f736a621cb29de7e75bb0b35 100644 --- a/tensorflow/python/keras/engine/training_test.py +++ b/tensorflow/python/keras/engine/training_test.py @@ -250,8 +250,10 @@ class TrainingTest(keras_parameterized.TestCase): run_eagerly=testing_utils.should_run_eagerly()) # This will work model.fit([input_a_np], output_d_np, epochs=1) - with self.assertRaises(ValueError): - model.fit([input_a_np, input_a_np], output_d_np, epochs=1) + # TODO(gsundeep) Test only works in eager, file ticket + if testing_utils.should_run_eagerly() and context.executing_eagerly(): + with self.assertRaises(ValueError): + model.fit([input_a_np, input_a_np], output_d_np, epochs=1) # Test model on a list of floats input_a_np = np.random.random((10, 3))