summaryrefslogtreecommitdiff
path: root/startop/scripts/app_startup
diff options
context:
space:
mode:
authorYan Wang <yawanng@google.com>2019-09-03 11:17:22 -0700
committerYan Wang <yawanng@google.com>2019-09-03 11:18:15 -0700
commitab89ecbc8210249c7c81c3e9d24b45c378acf652 (patch)
treef1feced81542619cfd8196ea915f3871d5837ecb /startop/scripts/app_startup
parent7febe4c518d257f56c1a8a5dc578420294d933cc (diff)
startop: Fix comments in gerrit CL 9172239.
Test: pytest Change-Id: I706730c8d54e575e26ff0e2bdbb668d2e70a5c2e
Diffstat (limited to 'startop/scripts/app_startup')
-rw-r--r--startop/scripts/app_startup/lib/adb_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/startop/scripts/app_startup/lib/adb_utils.py b/startop/scripts/app_startup/lib/adb_utils.py
index e56a96848895..3cebc9a97a50 100644
--- a/startop/scripts/app_startup/lib/adb_utils.py
+++ b/startop/scripts/app_startup/lib/adb_utils.py
@@ -42,8 +42,8 @@ def logcat_save_timestamp() -> str:
def vm_drop_cache():
"""Free pagecache and slab object."""
cmd_utils.run_adb_shell_command('echo 3 > /proc/sys/vm/drop_caches')
- # Sleep a little bit to provide enougth time for cache cleanup.
- time.sleep(2)
+ # Sleep a little bit to provide enough time for cache cleanup.
+ time.sleep(1)
def root():
"""Roots adb and successive adb commands will run under root."""