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

Fix error messages in validation cgroup tests #605

Merged

Commits on Mar 14, 2018

  1. Fix error messages in validation cgroup tests

    Symptoms:
    ```
     ok 3 - blkio weight is set correctly
     # expect: 500, actual: 842352267696
    ```
    
    After the patch:
    ```
     ok 3 - blkio weight is set correctly
     # expect: 500, actual: 500
    ```
    
    I found those issues by patching runc to introduce "off-by-one" bugs and
    checking if they are correctly caught by the validation tests:
    https://github.com/kinvolk/runc/commits/alban/off-by-one-bugs
    
    Signed-off-by: Alban Crequy <alban@kinvolk.io>
    alban committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    984dbc8 View commit details
    Browse the repository at this point in the history