Commit Graph

6 Commits

Author SHA1 Message Date
Matej Marusak
910e2a8af6 Run TestApplication.testRunImageSystem 2020-09-07 08:07:41 +00:00
Martin Pitt
53b04a1c8e test: Use run-tests
This provides automatic retries for flake resistance, proper TAP
output, and the `--exclude` option.
2020-08-06 15:27:06 +02:00
Martin Pitt
8253a95498 test: Avoid npm install downloading everything
In the presence of a package-lock.json, `npm install` apparently
downloads all packages even when giving explicit ones on the CLI. Avoid
that by removing package-lock.json before.
2020-08-06 10:50:51 +02:00
Martin Pitt
2957a067ee tests: Run more upstream integration tests
This requires a workaround for podman.service leaking processes on
shutdown: https://github.com/containers/podman/issues/7021

Some tests don't work in dist-git gating CI environment yet:
testNotRunning, testRunImageSystem, testRunImageUser

Also don't use run-tests yet, this requires
https://github.com/cockpit-project/cockpit-podman/pull/437
2020-07-20 07:38:18 +02:00
Martin Pitt
2f8be1898a Move the test into a role
So that it can be called from the container-tools module without
duplication. For technical reasons this requires calling the test entry
script from a different directory, so parameterize it.

Rename the test from "browser" to "cockpit-podman" so that it is
more descriptive within a module test.

Drop the TEST_OS hack, tests of current version recognizes RHEL 8.3 just
fine (and in fact depends on it).

Related: rhbz#1821193
2020-05-19 12:49:41 +02:00
Martin Pitt
1d5f8f120c tests: Run as unprivileged user
Approach taken from cockpit:
https://src.fedoraproject.org/rpms/cockpit/c/6d1be3eb74
2020-04-29 07:49:57 +02:00