提交 d4e7fede 编写于 作者: Y Yuefeng Zhou 提交者: TensorFlower Gardener

Fix test flakiness.

PiperOrigin-RevId: 327886890
Change-Id: Iff29a6a3aa093cf660a0194441418be651342c72
上级 aecc2160
......@@ -839,7 +839,6 @@ py_test(
shard_count = 1,
tags = [
"no_oss", # TODO(b/162119374): enable it in OSS.
"notap", # TODO(b/165836402): enable after testing it isn't flaky.
],
deps = [
"//tensorflow/python:constant_op",
......
......@@ -167,7 +167,7 @@ class KPLTest(test.TestCase):
for _ in range(10):
self.client.schedule(worker_fn, args=(distributed_iterator,))
self.client.join()
self.assertGreaterEqual(accuracy.result().numpy(), 0.5)
self.assertGreater(accuracy.result().numpy(), 0.0)
# Create a saved model.
model.feature_ps = feature_ps
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册