Commit 3e9f78fd authored by Nicolas Wavrant's avatar Nicolas Wavrant

resiliencytest: test suite for slaprunner now uses a special SR for test,...

resiliencytest: test suite for slaprunner now uses a special SR for test, lighter than the previous helloworld SR
parent 531888b1
Pipeline #2794 skipped
...@@ -193,11 +193,11 @@ class SlaprunnerTestSuite(ResiliencyTestSuite): ...@@ -193,11 +193,11 @@ class SlaprunnerTestSuite(ResiliencyTestSuite):
while self._connectToSlaprunner('getProjectStatus', data='project=workspace/slapos').find('On branch master') is -1: while self._connectToSlaprunner('getProjectStatus', data='project=workspace/slapos').find('On branch master') is -1:
self.logger.info('git-cloning ongoing, sleeping...') self.logger.info('git-cloning ongoing, sleeping...')
def _openSoftwareRelease(self, software_name): def _openSoftwareRelease(self):
self.logger.debug('Opening %s software release...' % software_name) self.logger.debug('Opening dummy software release...')
self._connectToSlaprunner( self._connectToSlaprunner(
resource='setCurrentProject', resource='setCurrentProject',
data='path=workspace/slapos/software/%s/' % software_name data='path=workspace/slapos/software/slaprunner/test/dummy/'
) )
def generateData(self): def generateData(self):
...@@ -225,7 +225,7 @@ class SlaprunnerTestSuite(ResiliencyTestSuite): ...@@ -225,7 +225,7 @@ class SlaprunnerTestSuite(ResiliencyTestSuite):
self._gitClone() self._gitClone()
# XXX should be taken from parameter. # XXX should be taken from parameter.
self._openSoftwareRelease('helloworld') self._openSoftwareRelease()
self._buildSoftwareRelease() self._buildSoftwareRelease()
time.sleep(15) time.sleep(15)
......
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