Skip to content

Commit

Permalink
Add support for a configurable proxy port (mozilla#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricRahm committed Oct 22, 2015
1 parent 8da7d59 commit 5c73390
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion benchtester/MarionetteTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def run_test(self, testname, testvars={}):
prefs = {
# disable network access
"network.proxy.socks": "localhost",
"network.proxy.socks_port": 90000, # Invalid port
"network.proxy.socks_port": testvars.get("proxyPort", 90000),
"network.proxy.socks_remote_dns": True,
"network.proxy.type": 1, # Socks

Expand Down
1 change: 1 addition & 0 deletions slimtest_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
'vars':
{
'test': [ 'benchtester', 'test_memory_usage.py' ],
'proxyPort': 3128,
}
},
};

0 comments on commit 5c73390

Please sign in to comment.