From 467349fc6874bf2a96d04120d5a660f8a8ca5416 Mon Sep 17 00:00:00 2001 From: Elizaveta Chichindaeva Date: Fri, 9 Sep 2022 17:08:43 +0300 Subject: [PATCH] Test: get obj size from env Signed-off-by: Elizaveta Chichindaeva --- robot/variables/common.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/robot/variables/common.py b/robot/variables/common.py index bc6bb42..9c8569c 100644 --- a/robot/variables/common.py +++ b/robot/variables/common.py @@ -5,8 +5,9 @@ import os CONTAINER_WAIT_INTERVAL = "1m" -SIMPLE_OBJ_SIZE = 1000 -COMPLEX_OBJ_SIZE = 2000 +# TODO: Get object size data from a node config +SIMPLE_OBJ_SIZE = int(os.getenv("SIMPLE_OBJ_SIZE", "1000")) +COMPLEX_OBJ_SIZE = int(os.getenv("COMPLEX_OBJ_SIZE", "2000")) MAINNET_BLOCK_TIME = os.getenv('MAINNET_BLOCK_TIME', "1s") MAINNET_TIMEOUT = os.getenv('MAINNET_TIMEOUT', "1min")