From b5701cbc4206382bacb0f3b198767be2f0ac12f4 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 26 Oct 2021 13:28:15 +0300 Subject: [PATCH] Stabilize SHAPER tests --- test.hdfs/testme.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test.hdfs/testme.py b/test.hdfs/testme.py index 9dd3ebc0e..5a0d936cf 100644 --- a/test.hdfs/testme.py +++ b/test.hdfs/testme.py @@ -35,8 +35,9 @@ if __name__ == '__main__': hdffile = sys.argv[1] testdatafile = sys.argv[2] - tempdir = tempfile.gettempdir() - testlogfile = tempdir + "/test.log" + tempfile = tempfile.NamedTemporaryFile() + testlogfile = tempfile.name + tempfile.close() isOk = True error = "" -- 2.39.2