Skip to content

Commit

Permalink
use oci test cases for relative_blkio
Browse files Browse the repository at this point in the history
Signed-off-by: Marcelo Mendes Spessoto Junior <[email protected]>
  • Loading branch information
MarceloSpessoto committed Mar 5, 2024
1 parent 95d919e commit dc4993e
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions tests/contest/contest/src/tests/cgroups/relative_blkio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,28 +524,8 @@ pub fn get_test_group() -> TestGroup {
Box::new(can_run),

Check warning on line 524 in tests/contest/contest/src/tests/cgroups/relative_blkio.rs

View workflow job for this annotation

GitHub Actions / check (x86_64, musl)

Diff in /home/runner/work/youki/youki/tests/contest/contest/src/tests/cgroups/relative_blkio.rs

Check warning on line 524 in tests/contest/contest/src/tests/cgroups/relative_blkio.rs

View workflow job for this annotation

GitHub Actions / check (x86_64, musl)

Diff in /home/runner/work/youki/youki/tests/contest/contest/src/tests/cgroups/relative_blkio.rs
Box::new(|| test_relative_blkio("non_empty_100kb", 102400, false)),
);

let non_empty_200kb = ConditionalTest::new(
"non_empty_200kb",
Box::new(can_run),
Box::new(|| test_relative_blkio("non_empty_200kb", 204800, false)),
);
let empty_100kb = ConditionalTest::new(
"empty_100kb",
Box::new(can_run),
Box::new(|| test_relative_blkio("empty_100kb", 102400, true)),
);
let empty_200kb = ConditionalTest::new(
"empty_200kb",
Box::new(can_run),
Box::new(|| test_relative_blkio("empty_200kb", 204800, true)),
);

test_group.add(vec![
Box::new(non_empty_100kb),
Box::new(non_empty_200kb),
Box::new(empty_100kb),
Box::new(empty_200kb),
]);
test_group
}

0 comments on commit dc4993e

Please sign in to comment.