Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-mysqlbackend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-mysqlbackend
Commits
7e1bf2e3
Verified
Commit
7e1bf2e3
authored
6 months ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: Updated tests for newer MariaDB version.
parent
0801b110
No related branches found
No related tags found
2 merge requests
!31
ENH: Update script for outdated dumps.
,
!30
Mariadb 10.11: New reserved keyword
Pipeline
#55925
canceled
6 months ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+5
-6
5 additions, 6 deletions
Makefile
tests/test_autotap.sql
+78
-78
78 additions, 78 deletions
tests/test_autotap.sql
with
83 additions
and
84 deletions
Makefile
+
5
−
6
View file @
7e1bf2e3
...
...
@@ -59,23 +59,22 @@ test:
test-dump-update
:
pytest dump_updates
# Run tests with a database which is started in a Docker container
# Run tests with a database which is started in a
MariaDB
Docker container
.PHONY
:
test-docker
test-docker
:
@
docker
kill
caosdb-mysqlserver-test
||
true
@
docker container
rm
caosdb-mysqlserver-test
||
true
@
docker container
rm
-v
caosdb-mysqlserver-test
||
true
@
docker run
--name
caosdb-mysqlserver-test
-p
"3306:3306"
\
-e
MYSQL_ROOT_PASSWORD
=
"pass-for-test"
-d
mariadb
-e
MYSQL_ROOT_PASSWORD
=
"pass-for-test"
-d
mariadb
:10.11
@
sleep
10
MAINPATH
=
$(
realpath
tests/docker_env
)
utils/make_db
test
--fresh
@
docker
kill
caosdb-mysqlserver-test
@
docker container
rm
caosdb-mysqlserver-test
make test-docker-stop
# if automatic stopping failed
.PHONY
:
test-docker-stop
test-docker-stop
:
docker
kill
caosdb-mysqlserver-test
docker container
rm
caosdb-mysqlserver-test
docker container
rm
-v
caosdb-mysqlserver-test
# Compile the standalone documentation
.PHONY
:
doc
...
...
This diff is collapsed.
Click to expand it.
tests/test_autotap.sql
+
78
−
78
View file @
7e1bf2e3
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment