Commit 83c36248 authored by Boxiang Sun's avatar Boxiang Sun

peertube: fixup

parent e8647408
Pipeline #25230 passed with stage
in 0 seconds
...@@ -367,16 +367,6 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience): ...@@ -367,16 +367,6 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience):
postgres_bin = os.path.join(postgresql_partition, 'bin', 'postgres') postgres_bin = os.path.join(postgresql_partition, 'bin', 'postgres')
postgresql_srv = os.path.join(postgresql_partition, 'srv', 'postgresql') postgresql_srv = os.path.join(postgresql_partition, 'srv', 'postgresql')
# Stop all services
print("Stop all services")
self.callSlapos('node', 'stop', 'all')
# Check that the test instance is properly redeployed after restoring postgresql
# This restarts the services and checks the promises of the test instance
# Process twice to propagate state change
for _ in range(2):
self._processEmbeddedInstance(self.test_instance_max_retries)
peertube_conenction_info = self._getPeertubeConnexionParameters() peertube_conenction_info = self._getPeertubeConnexionParameters()
frontend_url = peertube_conenction_info['frontend-url'] frontend_url = peertube_conenction_info['frontend-url']
storage_path = os.path.join(postgresql_partition, 'var', 'www', 'peertube', 'storage') storage_path = os.path.join(postgresql_partition, 'var', 'www', 'peertube', 'storage')
......
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