Commit 2060b6f2 authored by Benjamin Blanc's avatar Benjamin Blanc

Up

parent f454c297
...@@ -101,7 +101,7 @@ class ScalabilityTestRunner(): ...@@ -101,7 +101,7 @@ class ScalabilityTestRunner():
def remainSoftwareToInstall(self): def remainSoftwareToInstall(self):
""" """
Return True if all softwares are installed, otherwise return False Return True if all softwares are not installed, otherwise return False
""" """
# Remove from grid installed software entries # Remove from grid installed software entries
print "self.remaining_software_installation_grid:" print "self.remaining_software_installation_grid:"
...@@ -113,15 +113,22 @@ class ScalabilityTestRunner(): ...@@ -113,15 +113,22 @@ class ScalabilityTestRunner():
self.remaining_software_installation_grid[computer_guid].remove(software_url) self.remaining_software_installation_grid[computer_guid].remove(software_url)
if len(self.remaining_software_installation_grid[computer_guid])==0: if len(self.remaining_software_installation_grid[computer_guid])==0:
del self.remaining_software_installation_grid[computer_guid] del self.remaining_software_installation_grid[computer_guid]
# Empty grid means that all softwares are installed
return len(self.remaining_software_installation_grid)==0
# Remove from grid installed software entries
print "AFTER self.remaining_software_installation_grid:"
print self.remaining_software_installation_grid
# Not empty grid means that all softwares are not installed
return len(self.remaining_software_installation_grid) > 0
def prepareSlapOSForTestSuite(self, node_test_suite): def prepareSlapOSForTestSuite(self, node_test_suite):
""" """
Install testsuite softwares Install testsuite softwares
""" """
# Define how many time this method can take # Define how many time this method can take
max_time = 3600*10 # 10 hours max_time = 3600*10*1.0 # 10 hours
start_time = time.time() start_time = time.time()
# #
if self.testnode.test_suite_portal.isValidatedMaster( if self.testnode.test_suite_portal.isValidatedMaster(
......
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