shadowsocks: Use resolvable domains in functional tests

Shadowsocks server will fail to start if the domain cannot be
resolved.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
James Valleroy authored and Sunil Mohan Adapa committed 2019-02-03 17:43:25 -08:00
1 parent 655c2be214
commit c5ee844cb1
2 files changed
+4 -4

No files matched your search

@@ -36,9 +36,9 @@ Scenario: Disable shadowsocks application
Scenario: Backup and restore shadowsocks
Given the shadowsocks application is enabled
When I configure shadowsocks with server beforebackup.example.com and password beforebackup123
When I configure shadowsocks with server example.com and password beforebackup123
And I create a backup of the shadowsocks app data
And I configure shadowsocks with server afterbackup.example.com and password afterbackup123
And I configure shadowsocks with server example.org and password afterbackup123
And I restore the shadowsocks app data backup
Then the shadowsocks service should be running
And shadowsocks should be configured with server beforebackup.example.com and password beforebackup123
And shadowsocks should be configured with server example.com and password beforebackup123
@@ -107,7 +107,7 @@ def select_domain_name(browser, app_name, domain_name):
@given('the shadowsocks application is configured')
def configure_shadowsocks(browser):
application.configure_shadowsocks(browser, 'some.shadow.tunnel',
application.configure_shadowsocks(browser, 'example.com',
'fakepassword')