Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: mojo/devtools/common/mojo_test

Issue 1384773003: Clear the network service disk cache for each apptest run. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/mojo_test
diff --git a/mojo/devtools/common/mojo_test b/mojo/devtools/common/mojo_test
index 8f06f4254e552d8827897fe7504bf9b5bfc300f3..f3fa0d033d3eb8e64b93e9e38089f5fe584cd21b 100755
--- a/mojo/devtools/common/mojo_test
+++ b/mojo/devtools/common/mojo_test
@@ -50,6 +50,7 @@ Any arguments not recognized by the script will be passed on as shell arguments.
_logger = logging.getLogger()
_CACHE_SERVICE_URL = 'mojo:url_response_disk_cache'
+_NETWORK_SERVICE_URL = 'mojo:network_service'
def main():
@@ -68,9 +69,11 @@ def main():
# We need root to have the stdout of the shell available on the host.
config.require_root = True
shell, common_shell_args = shell_arguments.get_shell(config, shell_args)
- # Tests must be reproducible. Start with an empty cache.
+ # Tests must be reproducible, start with empty caches.
common_shell_args.append(
"--args-for=%s %s" % (_CACHE_SERVICE_URL, "--clear"))
+ common_shell_args.append(
+ "--args-for=%s %s" % (_NETWORK_SERVICE_URL, "--clear"))
except shell_config.ShellConfigurationException as e:
print e
return 1
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698