Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
c6959dc3
Commit
c6959dc3
authored
Sep 18, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/slapos-sr-testing: run ERP5 crash test
parent
3e14f9d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
software/erp5/crash_test/test.py
software/erp5/crash_test/test.py
+1
-0
software/slapos-sr-testing/software.cfg
software/slapos-sr-testing/software.cfg
+9
-0
No files found.
software/erp5/crash_test/test.py
View file @
c6959dc3
...
@@ -94,6 +94,7 @@ class ERP5MariadbCrashTestCase(SlapOSInstanceTestCase):
...
@@ -94,6 +94,7 @@ class ERP5MariadbCrashTestCase(SlapOSInstanceTestCase):
self
.
logger
.
warn
(
"retry %d: URL was not found, sleeping for %ds and retrying"
,
i
,
delay
)
self
.
logger
.
warn
(
"retry %d: URL was not found, sleeping for %ds and retrying"
,
i
,
delay
)
time
.
sleep
(
delay
)
time
.
sleep
(
delay
)
continue
continue
r
.
raise_for_status
()
activity_count
=
r
.
json
()
activity_count
=
r
.
json
()
if
activity_count
!=
0
:
if
activity_count
!=
0
:
self
.
logger
.
warn
(
self
.
logger
.
warn
(
...
...
software/slapos-sr-testing/software.cfg
View file @
c6959dc3
...
@@ -50,6 +50,11 @@ setup = ${slapos-repository:location}/software/caddy-frontend/test/
...
@@ -50,6 +50,11 @@ setup = ${slapos-repository:location}/software/caddy-frontend/test/
egg = slapos.test.erp5
egg = slapos.test.erp5
setup = ${slapos-repository:location}/software/erp5/test/
setup = ${slapos-repository:location}/software/erp5/test/
[slapos.test.crash_erp5-setup]
<= setup-develop-egg
egg = slapos.test.crash_erp5
setup = ${slapos-repository:location}/software/erp5/crash_test/
[slapos.test.htmlvalidatorserver-setup]
[slapos.test.htmlvalidatorserver-setup]
<= setup-develop-egg
<= setup-develop-egg
egg = slapos.test.htmlvalidatorserver
egg = slapos.test.htmlvalidatorserver
...
@@ -188,6 +193,7 @@ eggs =
...
@@ -188,6 +193,7 @@ eggs =
${slapos.test.backupserver-setup:egg}
${slapos.test.backupserver-setup:egg}
${slapos.test.caddy-frontend-setup:egg}
${slapos.test.caddy-frontend-setup:egg}
${slapos.test.erp5-setup:egg}
${slapos.test.erp5-setup:egg}
${slapos.test.crash_erp5-setup:egg}
${slapos.test.htmlvalidatorserver-setup:egg}
${slapos.test.htmlvalidatorserver-setup:egg}
${slapos.test.slapos-master-setup:egg}
${slapos.test.slapos-master-setup:egg}
${slapos.test.jstestnode-setup:egg}
${slapos.test.jstestnode-setup:egg}
...
@@ -248,6 +254,9 @@ context =
...
@@ -248,6 +254,9 @@ context =
key faketime_location faketime:location
key faketime_location faketime:location
key tests :tests
key tests :tests
tests =
tests =
${slapos.test.crash_erp5-setup:setup}
XXX-tests =
${slapos.test.kvm-setup:setup}
${slapos.test.kvm-setup:setup}
${slapos.test.slaprunner-setup:setup}
${slapos.test.slaprunner-setup:setup}
${slapos.test.metabase-setup:setup}
${slapos.test.metabase-setup:setup}
...
...
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