github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/python/tests/const.py (about)

     1  #
     2  # Copyright (c) 2021-2024, NVIDIA CORPORATION. All rights reserved.
     3  #
     4  
     5  # SI and IEC Units
     6  KB = 10**3
     7  MB = 10**6
     8  GB = 10**9
     9  KIB = 2**10
    10  MIB = 2**20
    11  GIB = 2**30
    12  
    13  # Object Sizes
    14  LARGE_FILE_SIZE = 100 * MIB
    15  SMALL_FILE_SIZE = 10 * MIB
    16  
    17  # ETL
    18  ETL_NAME = "test-etl-name"
    19  
    20  # Object
    21  OBJ_READ_TYPE_ALL = "read_all"
    22  OBJ_READ_TYPE_CHUNK = "chunk"
    23  OBJ_NAME = "test-object"
    24  OBJ_CONTENT = "test-content"
    25  OBJECT_COUNT = 10
    26  STRESS_TEST_OBJECT_COUNT = 500
    27  
    28  # Timeout
    29  TEST_TIMEOUT = 30
    30  TEST_TIMEOUT_LONG = 120
    31  
    32  # Names
    33  PREFIX_NAME = "prefix-"
    34  SUFFIX_NAME = "-suffix"