Skip to content

Commit 18bcc5c

Browse files
Update const.py and log_validation_utils.py for timeout adjustments and code formatting
1 parent 57ded33 commit 18bcc5c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/validation/Engine/const.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
DEFAULT_INPUT_PATH = "/opt/intel/input_path/"
88
DEFAULT_OUTPUT_PATH = "/opt/intel/output_path/"
99

10-
FFMPEG_ESTABLISH_TIMEOUT = 5 # or use the same value as MCM_ESTABLISH_TIMEOUT
11-
FFMPEG_RUN_TIMEOUT = 60 # or use the same value as MCM_RXTXAPP_RUN_TIMEOUT
10+
FFMPEG_ESTABLISH_TIMEOUT = 6 # or use the same value as MCM_ESTABLISH_TIMEOUT
11+
FFMPEG_RUN_TIMEOUT = 120 # or use the same value as MCM_RXTXAPP_RUN_TIMEOUT
1212

1313
# time for establishing connection for example between TX and RX in st2110
1414
MTL_ESTABLISH_TIMEOUT = 2
15-
MCM_ESTABLISH_TIMEOUT = 5
15+
MCM_ESTABLISH_TIMEOUT = 6
1616
DEFAULT_LOOP_COUNT = 7
1717
MCM_RXTXAPP_RUN_TIMEOUT = MCM_ESTABLISH_TIMEOUT * DEFAULT_LOOP_COUNT
18-
MAX_TEST_TIME_DEFAULT = 60
18+
MAX_TEST_TIME_DEFAULT = 120
1919
STOP_GRACEFULLY_PERIOD = 2 # seconds
2020

2121
BUILD_DIR = "_build"

tests/validation/common/log_validation_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def check_phrases_anywhere(
248248
if phrase in line:
249249
phrase_found = True
250250
break
251-
251+
252252
if not phrase_found:
253253
missing_phrases.append(phrase)
254254
# Find where the phrase should have appeared

0 commit comments

Comments
 (0)