Skip to content

Commit 6c943a4

Browse files
committed
fix fleet dist infer ut
Change-Id: Id9ce0410b5976b18c72a957af017923f655ed494
1 parent c7aabfb commit 6c943a4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

python/paddle/fluid/tests/unittests/test_dist_fleet_geo.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ def check_with_place(self,
4242
"PYTHONPATH": os.getenv("PYTHONPATH", ""),
4343
"LD_LIBRARY_PATH": os.getenv("LD_LIBRARY_PATH", ""),
4444
"FLAGS_rpc_deadline": "5000", # 5sec to fail fast
45-
"http_proxy": ""
45+
"http_proxy": "",
46+
"LOG_DIRNAME": "/tmp",
47+
"LOG_PREFIX": self.__class__.__name__,
4648
}
4749

4850
required_envs.update(need_envs)
@@ -55,7 +57,7 @@ def check_with_place(self,
5557

5658
def test_dist_train(self):
5759
self.check_with_place(
58-
"dist_fleet_ctr.py", delta=1e-5, check_error_log=True)
60+
"dist_fleet_ctr.py", delta=1e-5, check_error_log=False)
5961

6062

6163
class TestGeoSgdTranspiler(unittest.TestCase):

0 commit comments

Comments
 (0)