From: Anthony Geay Date: Fri, 5 Jan 2024 13:53:23 +0000 (+0100) Subject: [EDF29150] : fix testPerfLogManager1.py for environment without SALOME_FILE_BIG_OBJ_D... X-Git-Tag: emc2p_1.6.0-rc1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bd05cbb77952f377280c80a7992b01835d0b5c4e;p=modules%2Fkernel.git [EDF29150] : fix testPerfLogManager1.py for environment without SALOME_FILE_BIG_OBJ_DIR set --- diff --git a/src/Launcher/Test/testPerfLogManager1.py b/src/Launcher/Test/testPerfLogManager1.py index 0279df2ed..2268284fe 100644 --- a/src/Launcher/Test/testPerfLogManager1.py +++ b/src/Launcher/Test/testPerfLogManager1.py @@ -67,6 +67,7 @@ class testPerfLogManager1(unittest.TestCase): PROXY_THRES = "1" with tempfile.TemporaryDirectory() as tmpdirname: val_for_big_obj = str( tmpdirname ) + os.environ["SALOME_FILE_BIG_OBJ_DIR"] = val_for_big_obj # Override environement for all containers launched salome.cm.SetOverrideEnvForContainersSimple(env = [("SALOME_FILE_BIG_OBJ_DIR",val_for_big_obj),("SALOME_BIG_OBJ_ON_DISK_THRES",PROXY_THRES)]) salome.cm.SetDeltaTimeBetweenCPUMemMeasureInMilliSecond( 250 )