Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos
Commits
cd8f7c43
Commit
cd8f7c43
authored
Nov 13, 2022
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
theia: Peertube test fixup
parent
74441adf
Pipeline
#24746
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
software/theia/test/project_tests.py
software/theia/test/project_tests.py
+4
-4
No files found.
software/theia/test/project_tests.py
View file @
cd8f7c43
...
...
@@ -250,7 +250,7 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience):
def
_prepareExport
(
self
):
super
(
TestTheiaResiliencePeertube
,
self
).
_prepareExport
()
postgresql_partition
=
self
.
_getPeertubePartitionPath
(
'export'
,
'postgres
ql
'
)
postgresql_partition
=
self
.
_getPeertubePartitionPath
(
'export'
,
'postgres'
)
postgresql_bin
=
os
.
path
.
join
(
mariadb_partition
,
'bin'
,
'psql'
)
postgres_bin
=
os
.
path
.
join
(
mariadb_partition
,
'bin'
,
'postgres'
)
...
...
@@ -313,9 +313,9 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience):
def
_checkTakeover
(
self
):
super
(
TestTheiaResiliencePeertube
,
self
).
_checkTakeover
()
postgresql_partition
=
self
.
_getPeertubePartitionPath
(
'export'
,
'postgres
ql
'
)
postgresql_bin
=
os
.
path
.
join
(
mariadb
_partition
,
'bin'
,
'psql'
)
postgres_bin
=
os
.
path
.
join
(
mariadb
_partition
,
'bin'
,
'postgres'
)
postgresql_partition
=
self
.
_getPeertubePartitionPath
(
'export'
,
'postgres'
)
postgresql_bin
=
os
.
path
.
join
(
postgresql
_partition
,
'bin'
,
'psql'
)
postgres_bin
=
os
.
path
.
join
(
postgresql
_partition
,
'bin'
,
'postgres'
)
# Check that the mariadb catalog is not yet restored
output
=
subprocess
.
check_output
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment