From 56cacae9015c7a20744244e1fdc62dd89e51e54a Mon Sep 17 00:00:00 2001 From: danleifeng <52735331+danleifeng@users.noreply.github.com> Date: Tue, 17 Jan 2023 14:21:00 +0800 Subject: [PATCH] fix ps ut error;test=develop (#49867) --- python/paddle/fluid/tests/unittests/test_dist_fleet_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/test_dist_fleet_base.py b/python/paddle/fluid/tests/unittests/test_dist_fleet_base.py index f1a790d8e8..5d0b06d02f 100644 --- a/python/paddle/fluid/tests/unittests/test_dist_fleet_base.py +++ b/python/paddle/fluid/tests/unittests/test_dist_fleet_base.py @@ -436,7 +436,7 @@ class TestFleetBase(unittest.TestCase): ) if tr0_ret != 0 or tr1_ret != 0: - if is_listen_failed(ps0_err) or is_listen_failed(ps1_err): + if is_listen_failed(ps0_err_log) or is_listen_failed(ps1_err_log): print("find parameter server port bind failed, skip the error") tr0_ret, tr1_ret = 0, 0 else: -- GitLab