diff --git a/test/fmf/integration-tests/test.sh b/test/fmf/integration-tests/test.sh index c5ba7507de..c7aeb06998 100755 --- a/test/fmf/integration-tests/test.sh +++ b/test/fmf/integration-tests/test.sh @@ -13,9 +13,9 @@ lsmem echo "Clock source: $(cat /sys/devices/system/clocksource/clocksource0/current_clocksource)" -# Bump inotify limits so nspawn containers don't run out of inotify file descriptors. -sysctl fs.inotify.max_user_watches=65536 -sysctl fs.inotify.max_user_instances=1024 +# Bump inotify limits if we can so nspawn containers don't run out of inotify file descriptors. +sysctl fs.inotify.max_user_watches=65536 || true +sysctl fs.inotify.max_user_instances=1024 || true # Allow running the integration tests downstream in dist-git with something like # the following snippet which makes the dist-git sources available in $TMT_SOURCE_DIR: