mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
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:
parent
655c2be214
commit
c5ee844cb1
@ -36,9 +36,9 @@ Scenario: Disable shadowsocks application
|
|||||||
|
|
||||||
Scenario: Backup and restore shadowsocks
|
Scenario: Backup and restore shadowsocks
|
||||||
Given the shadowsocks application is enabled
|
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 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
|
And I restore the shadowsocks app data backup
|
||||||
Then the shadowsocks service should be running
|
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')
|
@given('the shadowsocks application is configured')
|
||||||
def configure_shadowsocks(browser):
|
def configure_shadowsocks(browser):
|
||||||
application.configure_shadowsocks(browser, 'some.shadow.tunnel',
|
application.configure_shadowsocks(browser, 'example.com',
|
||||||
'fakepassword')
|
'fakepassword')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user