Update dependency opencontainer/runc
This commit is contained in:
@@ -19,7 +19,7 @@ limitations under the License.
|
||||
package oom
|
||||
|
||||
import (
|
||||
"os"
|
||||
"github.com/opencontainers/runc/libcontainer/cgroups"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
@@ -100,5 +100,5 @@ func TestOOMScoreAdjContainer(t *testing.T) {
|
||||
|
||||
func TestPidListerFailure(t *testing.T) {
|
||||
_, err := getPids("/does/not/exist")
|
||||
assert.True(t, os.IsNotExist(err), "expected getPids to return not exists error. Got %v", err)
|
||||
assert.True(t, cgroups.IsNotFound(err), "expected getPids to return not exists error. Got %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user