mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Merge pull request #2940 from kolyshkin/intelrdt-unit-test
libct/intelrdt: fix unit test
This commit is contained in:
@@ -217,10 +217,10 @@ func TestFindIntelRdtMountpointDir(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
t.Parallel()
|
||||
for _, tc := range testCases {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
mbaScEnabled = false
|
||||
mp, err := findIntelRdtMountpointDir(tc.input)
|
||||
if tc.isNotFoundError {
|
||||
if !IsNotFound(err) {
|
||||
|
||||
Reference in New Issue
Block a user