ceph-csi/pkg
Niels de Vos a1de56dbd3 tests: in case 'go test' is run in a container, skip TestGetPIDLimit()
In (standard, non-privileged) container environments the /sys/fs/cgroup
mountpoint is not available. This would cause the tests to fail, as
TestGetPIDLimit() tries to write to the cgroup configuration.

The test will work when run as root on a privileged container or
directly on a host (as Travis CI does).

Setting the CEPH_CSI_RUN_ALL_TESTS environment variable to a non-empty
value will cause the test to be executed.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-04-02 06:08:03 +00:00
..
cephfs Deprecate grpc metrics in ceph-csi 2020-04-01 11:59:37 +00:00
csi-common Audit log and follow klog standard 2020-03-27 09:24:52 +00:00
liveness Correct static errors and source code comments. 2020-03-30 05:13:24 +00:00
rbd Deprecate grpc metrics in ceph-csi 2020-04-01 11:59:37 +00:00
util tests: in case 'go test' is run in a container, skip TestGetPIDLimit() 2020-04-02 06:08:03 +00:00