Skip to content

Commit f773ce8

Browse files
authored
Merge pull request #2134 from rudyfly/diskquota
bugfix: fix diskquota test case
2 parents 105f412 + c923e57 commit f773ce8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/cli_run_volume_test.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -350,13 +350,6 @@ func (suite *PouchRunVolumeSuite) TestRunWithDiskQuotaForLog(c *check.C) {
350350
c.Assert(err, check.Equals, nil)
351351

352352
testFile := filepath.Join(containerMetaDir, "diskquota_testfile")
353-
354-
icmd.RunCommand("groupadd", "quota").Assert(c, icmd.Success)
355-
defer icmd.RunCommand("groupdel", "quota").Assert(c, icmd.Success)
356-
357-
icmd.RunCommand("useradd", "-g", "quota", "quota").Assert(c, icmd.Success)
358-
defer icmd.RunCommand("userdel", "quota").Assert(c, icmd.Success)
359-
360353
expct := icmd.Expected{
361354
ExitCode: 1,
362355
Err: "Disk quota exceeded",

0 commit comments

Comments
 (0)