forked from canonical/lxd-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/cgroup: take into account LXCFS support for swap accounting
Older LXCFS versions (4.0.x and 5.0.x branches) do not handle swap accounting on cgroup2 properly. While we are improving cgroup2 tests for a newer LXD versions we don't want to make tests red on the older ones. So, let's check if LXCFS declares support for swap accounting and only in this case make any checks for it. See also: lxc/lxcfs#663 Signed-off-by: Alexander Mikhalitsyn <[email protected]>
- Loading branch information
Showing
1 changed file
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters