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
9ca5c79a
Commit
9ca5c79a
authored
Nov 08, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into zope4py2
parents
bec3a84c
b57248b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
component/mariadb/buildout.cfg
component/mariadb/buildout.cfg
+2
-2
software/erp5/test/test/test_mariadb.py
software/erp5/test/test/test_mariadb.py
+9
-8
No files found.
component/mariadb/buildout.cfg
View file @
9ca5c79a
...
@@ -99,8 +99,8 @@ post-install =
...
@@ -99,8 +99,8 @@ post-install =
# as plugin-dir ( https://mariadb.com/kb/en/server-system-variables/#plugin_dir )
# as plugin-dir ( https://mariadb.com/kb/en/server-system-variables/#plugin_dir )
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = https://packages.groonga.org/source/mroonga/mroonga-12.0
7
.tar.gz
url = https://packages.groonga.org/source/mroonga/mroonga-12.0
9
.tar.gz
md5sum =
bee7506e08deda9a607d85ed03b8b62e
md5sum =
637d73b86239cc9c3758e9486746d430
pre-configure =
pre-configure =
rm -rf fake_mariadb_source
rm -rf fake_mariadb_source
mkdir -p fake_mariadb_source
mkdir -p fake_mariadb_source
...
...
software/erp5/test/test/test_mariadb.py
View file @
9ca5c79a
...
@@ -173,15 +173,16 @@ class TestCrontabs(MariaDBTestCase, CrontabMixin):
...
@@ -173,15 +173,16 @@ class TestCrontabs(MariaDBTestCase, CrontabMixin):
'check-slow-query-pt-digest-result.py'
,
'check-slow-query-pt-digest-result.py'
,
))
))
with
self
.
assertRaises
(
subprocess
.
CalledProcessError
)
as
error_context
:
with
self
.
assertRaises
(
subprocess
.
CalledProcessError
)
as
error_context
:
subprocess
.
check_output
(
'faketime 2050-01-01 %s'
%
check_slow_query_promise_plugin
[
'command'
],
shell
=
True
)
subprocess
.
check_output
(
'faketime 2050-01-01 %s'
%
check_slow_query_promise_plugin
[
'command'
],
text
=
True
,
shell
=
True
)
self
.
assertEqual
(
self
.
assertEqual
(
error_context
.
exception
.
output
,
error_context
.
exception
.
output
,
b"""
\
"Threshold is lower than expected:
\
n
"
Threshold is lower than expected:
"Expected total queries : 1.0 and current is: 2
\
n
"
Expected total queries : 1.0 and current is: 2
"Expected slowest query : 0.1 and current is: 3
\
n
"
,
Expected slowest query : 0.1 and current is: 3
)
"""
)
class
TestMariaDB
(
MariaDBTestCase
):
class
TestMariaDB
(
MariaDBTestCase
):
def
test_utf8_collation
(
self
):
def
test_utf8_collation
(
self
):
...
...
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