]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[EDF29150] : fix testPerfLogManager1.py for environment without SALOME_FILE_BIG_OBJ_D...
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 5 Jan 2024 13:53:23 +0000 (14:53 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 5 Jan 2024 13:53:23 +0000 (14:53 +0100)
src/Launcher/Test/testPerfLogManager1.py

index 0279df2ed3a0f8d7e00462b8345a22d382f793c1..2268284fe675297b06198d73513f1264ab8737fa 100644 (file)
@@ -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 )