Skip to content

Commit 2376d06

Browse files
committed
measurements.robot: Fix temporary debug perf tests duration vars
Signed-off-by: Filip Gołaś <[email protected]>
1 parent f70ee95 commit 2376d06

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

dasharo-performance-parallelable/measurements.robot

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ Suite Setup Run Keywords
1717
... AND Init Parallel Testing
1818
... AND Prepare Parallel Test Suite
1919

20+
*** Variables ***
21+
# TODO: remove, temporary debug values
22+
${FREQUENCY_TEST_MEASURE_INTERVAL}= 1
23+
${TEMPERATURE_TEST_MEASURE_INTERVAL}= 1
24+
${STABILITY_TEST_MEASURE_INTERVAL}= 1
25+
${TEMPERATURE_TEST_DURATION}= 5
26+
${FREQUENCY_TEST_DURATION}= 5
27+
${STABILITY_TEST_DURATION}= 5
2028

2129
*** Test Cases ***
2230
############################################
@@ -78,14 +86,6 @@ _PARALLEL_Background Measurements (no load) (Ubuntu)
7886
Login To Linux
7987
Switch To Root User
8088

81-
# TODO temporary debug values
82-
VAR ${frequency_test_measure_interval}= 1
83-
VAR ${temperature_test_measure_interval}= 1
84-
VAR ${stability_test_measure_interval}= 1
85-
VAR ${temperature_test_duration}= 5
86-
VAR ${frequency_test_duration}= 5
87-
VAR ${stability_test_duration}= 5
88-
8989
${gather_temps}= Will Parallel Test Be Run Regex CPT
9090
${gather_freqs}= Will Parallel Test Be Run Regex CPF
9191
${measure_stab}= Will Parallel Test Be Run Regex STB
@@ -133,12 +133,6 @@ _PARALLEL_Background Measurements (load) (Ubuntu)
133133
Login To Linux
134134
Switch To Root User
135135

136-
# TODO temporary debug values
137-
VAR ${frequency_test_measure_interval}= 1
138-
VAR ${temperature_test_measure_interval}= 1
139-
VAR ${temperature_test_duration}= 5
140-
VAR ${frequency_test_duration}= 5
141-
142136
${gather_temps}= Will Parallel Test Be Run Regex CPT
143137
${gather_freqs}= Will Parallel Test Be Run Regex CPF
144138
IF ${gather_temps}
@@ -153,7 +147,7 @@ _PARALLEL_Background Measurements (load) (Ubuntu)
153147
END
154148
# Start CPU Stress
155149
${stress_duration}= Evaluate
156-
... max(${temperature_test_duration}, ${frequency_test_duration})
150+
... max(${TEMPERATURE_TEST_DURATION}, ${FREQUENCY_TEST_DURATION})
157151
Stress Test ${stress_duration}s
158152
Background Measurements
159153
... id_temp=${gather_temps} id_freq=${gather_freqs}

0 commit comments

Comments
 (0)