Commit cd8f7c43 authored by Boxiang Sun's avatar Boxiang Sun

theia: Peertube test fixup

parent 74441adf
...@@ -250,7 +250,7 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience): ...@@ -250,7 +250,7 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience):
def _prepareExport(self): def _prepareExport(self):
super(TestTheiaResiliencePeertube, self)._prepareExport() super(TestTheiaResiliencePeertube, self)._prepareExport()
postgresql_partition = self._getPeertubePartitionPath('export', 'postgresql') postgresql_partition = self._getPeertubePartitionPath('export', 'postgres')
postgresql_bin = os.path.join(mariadb_partition, 'bin', 'psql') postgresql_bin = os.path.join(mariadb_partition, 'bin', 'psql')
postgres_bin = os.path.join(mariadb_partition, 'bin', 'postgres') postgres_bin = os.path.join(mariadb_partition, 'bin', 'postgres')
...@@ -313,9 +313,9 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience): ...@@ -313,9 +313,9 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience):
def _checkTakeover(self): def _checkTakeover(self):
super(TestTheiaResiliencePeertube, self)._checkTakeover() super(TestTheiaResiliencePeertube, self)._checkTakeover()
postgresql_partition = self._getPeertubePartitionPath('export', 'postgresql') postgresql_partition = self._getPeertubePartitionPath('export', 'postgres')
postgresql_bin = os.path.join(mariadb_partition, 'bin', 'psql') postgresql_bin = os.path.join(postgresql_partition, 'bin', 'psql')
postgres_bin = os.path.join(mariadb_partition, 'bin', 'postgres') postgres_bin = os.path.join(postgresql_partition, 'bin', 'postgres')
# Check that the mariadb catalog is not yet restored # Check that the mariadb catalog is not yet restored
output = subprocess.check_output( output = subprocess.check_output(
......
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