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 2019-02-03 19:59:43 -05:00 committed by Sunil Mohan Adapa
parent 655c2be214
commit c5ee844cb1
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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')