Florian Klink
bf7841aae1
nixosTests.mysql: add additional test{db,user}2
...
Test that other users are not able to access the mysql database, and
unix socket auth actually works.
2019-12-28 15:31:12 +01:00
Florian Klink
7d64f7a534
nixosTests.mysql: add missing () to start_all()
...
Because mysql.wait_for_unit() starts the vm as well, we didn't notice
that.
2019-12-28 15:31:12 +01:00
Florian Klink
56718763e9
nixosTests.mysql: port to python
2019-11-23 23:48:55 +01:00
Aaron Andersen
f1faec8249
nixos/mysql: test the mysql package, not just mariadb
2019-08-04 10:41:55 -04:00
Thorsten Weber
b7907dc1ae
fix mysql test after #63862 introduced non-functional initialScript
2019-07-03 00:35:35 +02:00
Aaron Andersen
d9193f9eda
nixos/mysql: secure access to database in one of the nixos tests
2019-06-30 22:01:02 -04:00
Florian Jacob
14571f5ed0
nixos/mysql: fix initialScript option
...
which was wrongly specified as types.lines
Prevent it from getting copied to nix store as people might use it for
credentials, and make the tests cover it.
2019-04-01 21:08:47 +02:00
Florian Jacob
77978c1518
nixos/mysql: fix support for non-specified database schema
...
and increase test coverage to catch this
2019-04-01 20:01:29 +02:00
Florian Jacob
3d8090458c
nixos/mysql: expand tests to mariadb and ensureUsers / ensureDatabases
2019-03-15 16:32:36 +01:00
Florian Friesdorf
fbef5ab82f
Remove myself as maintainer from packages
...
I'm currently not maintaining any packages.
2019-02-22 16:14:13 +01:00
volth
2e979e8ceb
[bot] nixos/*: remove unused arguments in lambdas
2018-07-20 20:56:59 +00:00
Peter Hoeg
5b468ea6b1
nixos mysql: make start-up more robust ( #41010 )
...
1) Change start-type to ```notify``` when running MariaDB so that we don't have to busy-wait for the
socket to appear.
2) Do not manually create the directory under /run as we can get systemd to do
that for us. This opens up the possibility later for not having to launch as root.
2018-05-24 16:42:16 +02:00
ben smith
c38e6a2a60
mysql: fix replication tests ( #17174 )
...
Eliminate race condition in replication test
Remove replication configuration from standalone test
Improve mysql command syntax consistency
2016-07-23 00:37:05 +02:00
Joachim Schiele
0731489953
all tests: added meta.maintainers section
2015-07-12 12:29:51 +02:00
Florian Friesdorf
9b7dbcc83e
name nixos tests, close #3078
2014-06-28 16:05:47 +02:00
Eelco Dolstra
abe218950c
Make it easier to run the tests
...
You can now run a test in the nixos/tests directory directly using
nix-build, e.g.
$ nix-build '<nixos/tests/login.nix>' -A test
This gets rid of having to add the test to nixos/tests/default.nix.
(Of course, you still need to add it to nixos/release.nix if you want
Hydra to run the test.)
2014-04-14 14:02:44 +02:00
Eelco Dolstra
da2a336a3c
Remove tabs
2014-02-28 16:18:31 +01:00
Shea Levy
691f6c4c59
Fix mysql test evaluation
2014-02-28 06:16:57 -05:00
Eelco Dolstra
5c1f8cbc70
Move all of NixOS to nixos/ in preparation of the repository merge
2013-10-10 13:28:20 +02:00