summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/damon/damos_quota_goal.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/damon/damos_quota_goal.py')
-rwxr-xr-xtools/testing/selftests/damon/damos_quota_goal.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/damon/damos_quota_goal.py b/tools/testing/selftests/damon/damos_quota_goal.py
index 18246f3b62f7..f76e0412b564 100755
--- a/tools/testing/selftests/damon/damos_quota_goal.py
+++ b/tools/testing/selftests/damon/damos_quota_goal.py
@@ -63,6 +63,9 @@ def main():
if last_effective_bytes != 0 else -1.0))
if last_effective_bytes == goal.effective_bytes:
+ # effective quota was already minimum that cannot be more reduced
+ if expect_increase is False and last_effective_bytes == 1:
+ continue
print('efective bytes not changed: %d' % goal.effective_bytes)
exit(1)