Skip to content
Commit 88525f7d authored by JW Wang's avatar JW Wang
Browse files

Fix the algorithm counting the package failures

Use the sliding window algorithm to detect if there exists a window
containing failures equal to or above the trigger threshold.

Bug: 140841942
Test: atest PackageWatchdogTest
Change-Id: I34a20e4d3b98a093dffa05fc7c7c026905834b53
parent dfa5268d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment