Commit 1278cbe
committed
Increase BatteryStatusTracker test tolerance for missing data
Because we were waiting 0.1 seconds to confirm there's no status
change, we were getting into a race, because the 0.1s timeout
finishes, the status changes because of missing data.
Increasing the tolerance for missing data fixes that.
This commit also increases the timeout for failures due to stale data,
to be clearly higher than `max_data_age`.
Signed-off-by: Sahas Subramanian <[email protected]>1 parent 4f2fe34 commit 1278cbe
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
753 | 753 | | |
754 | 754 | | |
755 | 755 | | |
756 | | - | |
| 756 | + | |
757 | 757 | | |
758 | 758 | | |
759 | 759 | | |
| |||
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
1030 | | - | |
| 1030 | + | |
1031 | 1031 | | |
1032 | 1032 | | |
1033 | 1033 | | |
| |||
1043 | 1043 | | |
1044 | 1044 | | |
1045 | 1045 | | |
1046 | | - | |
| 1046 | + | |
1047 | 1047 | | |
1048 | 1048 | | |
1049 | 1049 | | |
| |||
0 commit comments