mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
The port attribute definition must come first
This commit is contained in:
parent
6fe53339ce
commit
410b583a63
@ -57,10 +57,10 @@ class ArchiveTest(integration.ModuleCase,
|
||||
start tornado app on thread
|
||||
and wait till its running
|
||||
'''
|
||||
cls.server_port = get_unused_localhost_port()
|
||||
cls.server_thread = threading.Thread(target=cls.webserver)
|
||||
cls.server_thread.daemon = True
|
||||
cls.server_thread.start()
|
||||
cls.server_port = get_unused_localhost_port()
|
||||
cls.archive_tar_source = 'http://localhost:{0}/custom.tar.gz'.format(cls.server_port)
|
||||
# check if tornado app is up
|
||||
port_closed = True
|
||||
|
Loading…
Reference in New Issue
Block a user