mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 23:38:24 +00:00
Skip test if not have Cpu quota or Cpu period
Closes: #13522 Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
@@ -5272,6 +5272,7 @@ RUN [ "/hello" ]`, map[string]string{})
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestBuildResourceConstraintsAreUsed(c *check.C) {
|
||||
testRequires(c, CpuCfsQuota)
|
||||
name := "testbuildresourceconstraints"
|
||||
|
||||
ctx, err := fakeContext(`
|
||||
|
||||
Reference in New Issue
Block a user