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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
slapos
Commits
ec164546
Commit
ec164546
authored
Nov 03, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/gitlab/test: give more time for puma to start
parent
9adaf05c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
software/gitlab/test/test.py
software/gitlab/test/test.py
+1
-0
software/theia/test/project_tests.py
software/theia/test/project_tests.py
+1
-1
No files found.
software/gitlab/test/test.py
View file @
ec164546
...
@@ -41,6 +41,7 @@ setUpModule, SlapOSInstanceTestCase = makeModuleSetUpAndTestCaseClass(
...
@@ -41,6 +41,7 @@ setUpModule, SlapOSInstanceTestCase = makeModuleSetUpAndTestCaseClass(
class
TestGitlab
(
SlapOSInstanceTestCase
):
class
TestGitlab
(
SlapOSInstanceTestCase
):
__partition_reference__
=
'G'
# solve path too long for postgresql and unicorn
__partition_reference__
=
'G'
# solve path too long for postgresql and unicorn
instance_max_retry
=
50
# puma takes time to be ready
@
classmethod
@
classmethod
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
...
...
software/theia/test/project_tests.py
View file @
ec164546
...
@@ -449,7 +449,7 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience):
...
@@ -449,7 +449,7 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience):
instance_type
,
'srv'
,
'runner'
,
'instance'
,
partition
,
*
paths
)
instance_type
,
'srv'
,
'runner'
,
'instance'
,
partition
,
*
paths
)
class
TestTheiaResilienceGitlab
(
test_resiliency
.
TestTheiaResilience
):
class
TestTheiaResilienceGitlab
(
test_resiliency
.
TestTheiaResilience
):
test_instance_max_retries
=
12
test_instance_max_retries
=
50
# puma takes time to be ready
backup_max_tries
=
480
backup_max_tries
=
480
backup_wait_interval
=
60
backup_wait_interval
=
60
_connection_parameters_regex
=
re
.
compile
(
r"{.*}"
,
re
.
DOTALL
)
_connection_parameters_regex
=
re
.
compile
(
r"{.*}"
,
re
.
DOTALL
)
...
...
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