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

Unified Diff: components/sync/test/local_sync_test_server.cc

Issue 2378143002: [sync]sync_integration_tests using python server fail (Closed)
Patch Set: Added link to bug, fixed typo Created 4 years, 3 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: components/sync/test/local_sync_test_server.cc
diff --git a/components/sync/test/local_sync_test_server.cc b/components/sync/test/local_sync_test_server.cc
index 4dd1bfd09a9c63a7439ea9b362c60200eedc87df..dace9e6179012b39878d518f91502e4f15a26a07 100644
--- a/components/sync/test/local_sync_test_server.cc
+++ b/components/sync/test/local_sync_test_server.cc
@@ -37,6 +37,10 @@ LocalSyncTestServer::~LocalSyncTestServer() {}
bool LocalSyncTestServer::AddCommandLineArguments(
base::CommandLine* command_line) const {
+ // Suppress loading of site packages in order to avoid a version mismatch
+ // between pre-installed versions of python libraries.
+ // See https://bugs.chromium.org/p/chromium/issues/detail?id=649829
+ command_line->AppendSwitch("-S");
if (!LocalTestServer::AddCommandLineArguments(command_line))
return false;
if (xmpp_port_ != 0) {
« 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