Commit ce20567a authored by Jérome Perrin's avatar Jérome Perrin

testing/testcase: (re) start slapos in setUpModule

Slapos is started the first time the StandaloneSlapOS is instanciated,
then, in each class teardown we stop slapos, so the second time
setUpModule is executed, the slapos is not started yet.

Start it one more time in setUpModule to ensure it's started in this
scenario.
parent d20bc7cb
Pipeline #8629 failed with stage
in 0 seconds
...@@ -331,6 +331,8 @@ def installSoftwareUrlList(cls, software_url_list, max_retry=2, debug=False): ...@@ -331,6 +331,8 @@ def installSoftwareUrlList(cls, software_url_list, max_retry=2, debug=False):
cls._copySnapshot(standalone_log, name) cls._copySnapshot(standalone_log, name)
try: try:
cls.logger.debug("Starting")
cls.slap.start()
for software_url in software_url_list: for software_url in software_url_list:
cls.logger.debug("Supplying %s", software_url) cls.logger.debug("Supplying %s", software_url)
cls.slap.supply(software_url) cls.slap.supply(software_url)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment