Files
k7/tests/integration/test_node_limits.py
G 3c80778156 Release 0.5.0
Observability, usage metering, tenants and quotas, and roles with OIDC login. A Helm chart installs K7 on a cluster you already run, API keys carry a role, and k7-agent no longer needs host privileges.
2026-10-18 23:21:48 +02:00

13 lines
402 B
Python

"""Kernel limits node prep sets, read on the node the suite runs on."""
from pathlib import Path
import pytest
pytestmark = pytest.mark.integration
def test_inotify_instance_limit_is_live_and_persisted():
assert int(Path("/proc/sys/fs/inotify/max_user_instances").read_text()) >= 8192
assert Path("/etc/sysctl.d/90-k7-inotify.conf").read_text() == "fs.inotify.max_user_instances = 8192\n"