Remove flaky timing check.

PiperOrigin-RevId: 232718485
This commit is contained in:
Thomas O'Malley 2019-02-06 12:01:19 -08:00 committed by TensorFlower Gardener
parent 86950c2c44
commit 78840bb864

View File

@ -158,8 +158,6 @@ class AutoLambdaTest(keras_parameterized.TestCase):
size_50 = _construct_graph_of_size(50)
size_500 = _construct_graph_of_size(500)
# Check reasonable graph construction time.
self.assertLess(size_50, 5)
# Check construction time grows approx. linearly with size.
e = 2 # Fudge factor to prevent flakiness.
self.assertLess(size_500, (10 * e) * size_50)