Skip to content

Commit

Permalink
fixup! Fix web-platform-tests#2669: Add alternate_hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Apr 30, 2018
1 parent 0ef9a74 commit f76a95c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/wptrunner/wptrunner/browsers/sauce.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def __enter__(self):
"--metrics-address=0.0.0.0:9876",
"--readyfile=./sauce_is_ready",
"--tunnel-domains",
",".join(self.env_config.domains_set)
",".join(self.env_config.domains.itervalues())
])

# Timeout config vars
Expand Down
5 changes: 4 additions & 1 deletion tools/wptrunner/wptrunner/tests/browsers/test_sauce.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,7 @@ def test_sauceconnect_tunnel_domains():
assert rest[1].startswith("-"), "--tunnel-domains takes a comma separated list (not a space separated list)"
assert set(rest[0].split(",")) == {'example.net',
'a.example.net',
'b.example.net'}
'b.example.net',
'example.org',
'a.example.org',
'b.example.org'}

0 comments on commit f76a95c

Please sign in to comment.