diff --git a/integration-tests/source/systemtest/testcase.py b/integration-tests/source/systemtest/testcase.py index c2bb03bd6e252f3754d3283f1be6fee6b616a7c7..df392ca0cd918396844f754655e558da59e51fbf 100644 --- a/integration-tests/source/systemtest/testcase.py +++ b/integration-tests/source/systemtest/testcase.py @@ -465,6 +465,16 @@ class OpenbisController(_Controller): """ Disables authentication. """ self.asProperties['authentication-service'] = 'dummy-authentication-service' + def setOpenbisPortDataStoreServer(self, port): + as_url = self.dssProperties['server-url'] + util.printAndFlush('as_url' + as_url) + parts = as_url.split(':') + s="" + for idx, part in enumerate(parts): + if(idx < len(parts) -1): + s = s + part + ":" + self.dssProperties['server-url'] = s + port + def setDataStoreServerCode(self, code): """ Sets the code of the Data Store Server. """ self.dssProperties['data-store-server-code'] = code