Update power lower limit from 0 to 100 watts
When host is off, power is still being supplied to chips, leds, etc.
Change-Id: I892ff8a99a1fdc3da5f3e5d65a201a6c8d0f4c90
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_power_supply.robot b/tests/test_power_supply.robot
index 489462b..53e2400 100644
--- a/tests/test_power_supply.robot
+++ b/tests/test_power_supply.robot
@@ -21,7 +21,7 @@
# limit. If the power drawn goes beyond the upper power limit, this test will
# fail.
${upper_power_limit} ${2104}
-${lower_power_limit} ${0}
+${lower_power_limit} ${100}
${power_data_collection_interval} ${30}
# Every n seconds, the system collects the following for each power supply
@@ -127,12 +127,12 @@
# Check for "average" aggregation.
:FOR ${power_path} IN @{power_paths[0]}
\ ${averages}= Get Sensors Aggregation Data ${power_path}
- \ Should Be True ${averages[0]} == ${lower_power_limit}
+ \ Should Be True ${averages[0]} < ${lower_power_limit}
... msg=Wattage ${averages[0]} more than ${lower_power_limit}.
# Check for "maximum" aggregation.
:FOR ${power_path} IN @{power_paths[1]}
\ ${maximums}= Get Sensors Aggregation Data ${power_path}
- \ Should Be True ${maximums[0]} == ${lower_power_limit}
+ \ Should Be True ${maximums[0]} < ${lower_power_limit}
... msg=Wattage ${maximums[0]} more than ${lower_power_limit}.