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

Unified Diff: components/cronet/android/test/javaperftests/run.py

Issue 2799743009: [Cronet] Get Cronet's javaperftest running again (Closed)
Patch Set: Created 3 years, 8 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 | « components/cronet/android/test/javaperftests/android_rndis_forwarder.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/test/javaperftests/run.py
diff --git a/components/cronet/android/test/javaperftests/run.py b/components/cronet/android/test/javaperftests/run.py
index fc6203bdbcaf702e940c717c0388340f5fc9b4a5..1e815e2ef6acf705a9e0619212d9351b7884545a 100755
--- a/components/cronet/android/test/javaperftests/run.py
+++ b/components/cronet/android/test/javaperftests/run.py
@@ -21,6 +21,15 @@ Prerequisites:
3. cronet_perf_test_apk has been built for the Android device, e.g. via:
./components/cronet/tools/cr_cronet.py gn -r
ninja -C out/Release cronet_perf_test_apk
+4. If "sudo ufw status" doesn't say "Status: inactive", run "sudo ufw disable".
+5. sudo apt-get install lighttpd
+6. If the usb0 interface on the host keeps losing it's IPv4 address
+ (WaitFor(HasHostAddress) will keep failing), NetworkManager may need to be
+ told to leave usb0 alone with these commands:
+ sudo bash -c "printf \"\\n[keyfile]\
+ \\nunmanaged-devices=interface-name:usb0\\n\" \
+ >> /etc/NetworkManager/NetworkManager.conf"
+ sudo service network-manager restart
Invocation:
./run.py
@@ -224,7 +233,7 @@ class QuicServer(object):
# the redirect done in build/android/pylib/pexpect.py.
# pylint: disable=no-member
self._process = pexpect.spawn(QUIC_SERVER,
- ['--quic_in_memory_cache_dir=%s' %
+ ['--quic_response_cache_dir=%s' %
self._quic_server_doc_root,
'--certificate_file=%s' % QUIC_CERT,
'--key_file=%s' % QUIC_KEY,
« no previous file with comments | « components/cronet/android/test/javaperftests/android_rndis_forwarder.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698