Andrei Zeliankou
4c846ae693
Tests: isolation check moved to the pytest_sessionstart().
...
This change eliminates the need for some classes
to run Unit one more time before running tests.
2020-12-09 16:15:50 +00:00
Andrei Zeliankou
07789a23e9
Tests: options moved to the separate class.
...
This change is necessary to separate the logic
and prevent possible circular dependency.
2020-12-06 16:01:59 +00:00
Tiago Natel de Moura
bbc29df8fe
Tests: tmpfs automount.
2020-11-16 17:22:10 +00:00
Max Romanov
567f0a7b30
Tests: fixing tests interrupt in terminal.
...
KeyboardInterrupt re-raised.
2020-11-16 20:37:01 +03:00
Tiago Natel de Moura
0390cb3a61
Isolation: mounting of procfs by default when using "rootfs".
2020-10-29 20:30:53 +00:00
Andrei Zeliankou
54837759f3
Tests: fixed unit.log print.
2020-10-19 22:25:29 +01:00
Andrei Zeliankou
6ec0ff3596
Tests: minor fixes.
2020-10-07 23:18:43 +01:00
Andrei Zeliankou
d5e9159340
Tests: migrated to the pytest.
2020-09-16 21:31:15 +01:00
Tiago Natel de Moura
10738c3fe2
Tests: default tmpfs in rootfs.
2020-08-20 15:53:20 +01:00
Tiago Natel de Moura
08b765ae42
Tests: Added rootfs tests.
2020-05-28 14:59:52 +01:00
Andrei Zeliankou
ce4a2bbd05
Tests: style.
2020-05-15 04:20:56 +01:00
Andrei Zeliankou
6a9a4fe0d4
Tests: introduced module version specification in prerequisites.
2020-04-24 05:08:56 +01:00
Tiago Natel
752ffd1950
Tests: added privileged credential tests.
2019-12-06 17:02:23 +00:00
Tiago Natel
224787bbac
Tests: added getjson() helper.
2019-11-26 16:00:11 +00:00
Tiago Natel
19b974674c
Tests: fixed tests to run as root.
...
- The mode of testdir was changed to allow reading from other users/groups.
- The java multipart test now uploads the file into an app writable dir.
- The build directory was made readable for other users.
- The python environment test now uses the HOME env var instead of PWD
because the latter is not set by the root shell (/bin/sh) by default.
- The node `node_modules` directory now is copied into the `testdir` instead
of using symlinks.
2019-11-09 20:14:52 +00:00
Tiago Natel
0beb8ea5e1
Fixed passing false in namespace flags.
...
This patch closes #328 in github.
2019-10-11 10:00:06 +00:00
Tiago de Bem Natel de Moura
c554941b4f
Initial applications isolation support using Linux namespaces.
2019-09-19 15:25:23 +03:00