diff options
author | 2016-07-06 05:15:41 -0800 | |
---|---|---|
committer | 2016-07-06 06:33:11 -0700 | |
commit | 81e379e9ab1ff6041afcec6ba24748d77566ec08 (patch) | |
tree | b76e69efee5ea842f8a84827a801542849281453 | |
parent | f0c3132650d2545f2ae8dd4a5a61f250ac41756a (diff) |
Fix sampling_ops test timeout by removing unneeded network inferences in unit test.
Change: 126691628
-rw-r--r-- | tensorflow/contrib/framework/python/ops/sampling_ops_test.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tensorflow/contrib/framework/python/ops/sampling_ops_test.py b/tensorflow/contrib/framework/python/ops/sampling_ops_test.py index 6e3888de27..f0e85b4a3e 100644 --- a/tensorflow/contrib/framework/python/ops/sampling_ops_test.py +++ b/tensorflow/contrib/framework/python/ops/sampling_ops_test.py @@ -126,8 +126,7 @@ class SamplingOpsTest(tf.test.TestCase): coord = tf.train.Coordinator() threads = tf.train.start_queue_runners(coord=coord) - for _ in range(20): - sess.run(batch1 + batch2 + (summary_op,)) + sess.run(batch1 + batch2 + (summary_op,)) coord.request_stop() coord.join(threads) |