Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CNF-9173: e2e: cgroups: introduce cgroup package #906

Merged
merged 3 commits into from Feb 5, 2024

Commits on Jan 18, 2024

  1. e2e: change ExecCommandOnPod to accept container name

    In case no name provided, it takes the name from
    the first container in the pod.
    
    Signed-off-by: Talor Itzhak <titzhak@redhat.com>
    Tal-or committed Jan 18, 2024
    Copy the full SHA
    69a21cd View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. e2e:utils: introduce cgroup package

    This package provides a ControllerGetter which is cgroup version agnostic.
    It provides a unified api for testing the mixedcpus feature for both v1 and v2.
    
    The package can be expand in the future for testing additional features
    that requires cgroups inspection.
    
    Also in the future this package should be runtime (crun/runc) agnostic.
    
    Signed-off-by: Talor Itzhak <titzhak@redhat.com>
    Tal-or committed Jan 28, 2024
    1
    Copy the full SHA
    58b3575 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. cgroup: exec separatly for each controller file

    The exec command might return empty value.
    In order to have better control of what we get
    we should read the files in separate exec calls.
    
    Signed-off-by: Talor Itzhak <titzhak@redhat.com>
    Tal-or committed Jan 30, 2024
    Copy the full SHA
    129c80a View commit details
    Browse the repository at this point in the history