PSv2: Attempt of a workaround for client_test's logging in windows/cpu_py38_full/nightly.

PiperOrigin-RevId: 324931764
Change-Id: Id37db85a085c59a3c12382dd4eebeb0e5b288ec1
This commit is contained in:
Rick Chao 2020-08-04 18:17:22 -07:00 committed by TensorFlower Gardener
parent f05d6a01ee
commit 754dffaf78
2 changed files with 2 additions and 3 deletions

View File

@ -49,7 +49,6 @@ tf_py_test(
srcs = ["client_test.py"],
python_version = "PY3",
shard_count = 12,
tags = ["no_windows"], # TODO(b/162751266)
deps = [
":client",
"//tensorflow/python:client_testlib",

View File

@ -80,10 +80,10 @@ class CoordinatedClosureQueueTest(test.TestCase):
def get_func(label):
def func():
logging.info('Label: %s, before waiting 3 sec', label)
logging.info('Label: ' + label + ', before waiting 3 sec') # pylint: disable=logging-not-lazy
time.sleep(3)
processed_count[label] += 1
logging.info('Label: %s, after waiting 3 sec', label)
logging.info('Label: ' + label + ', after waiting 3 sec') # pylint: disable=logging-not-lazy
return func