diff options
author | Nathan Silberman <nsilberman@google.com> | 2016-11-11 07:23:30 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-11-11 07:43:31 -0800 |
commit | a045d500b01c617eaee988e3f8b77e3b0d1b4ce3 (patch) | |
tree | ddc4cf9ffb74ed71d7e625474c2bf79183b204c4 | |
parent | 093a9fabc74e89b82f6a3c54a9f3f2d9b4468e8b (diff) |
Increasing timeout threshold in test.
Change: 138873970
-rw-r--r-- | tensorflow/contrib/slim/python/slim/evaluation_test.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tensorflow/contrib/slim/python/slim/evaluation_test.py b/tensorflow/contrib/slim/python/slim/evaluation_test.py index 5464c87bb5..b12c82e985 100644 --- a/tensorflow/contrib/slim/python/slim/evaluation_test.py +++ b/tensorflow/contrib/slim/python/slim/evaluation_test.py @@ -284,10 +284,12 @@ class EvaluationTest(tf.test.TestCase): '', chkpt_dir, logdir, eval_op=update_op, eval_interval_secs=2.0, timeout=6.0) end = time.time() + # Check we've waited for the timeout. self.assertGreater(end - start, 6.0) + # Then the timeout kicked in and stops the loop. - self.assertLess(end - start, 7.5) + self.assertLess(end - start, 8.0) class SingleEvaluationTest(tf.test.TestCase): |