Skip to content

Commit d87e793

Browse files
authored
Merge pull request #1554 from allencloud/add-top-command
test: add top command in upgrade test suite
2 parents c23097e + 7f0f998 commit d87e793

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/cli_upgrade_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ func (suite *PouchUpgradeSuite) TestPouchUpgradeContainerMemCpu(c *check.C) {
145145
func (suite *PouchUpgradeSuite) TestPouchUpgradeContainerLabels(c *check.C) {
146146
name := "TestPouchUpgradeContainerLabels"
147147

148-
res := command.PouchRun("run", "-d", "--label", "test=foo",
149-
"--name", name, busyboxImage)
148+
res := command.PouchRun("run", "-d", "--label", "test=foo", "--name", name, busyboxImage, "top")
150149
defer DelContainerForceMultyTime(c, name)
151150
res.Assert(c, icmd.Success)
152151

0 commit comments

Comments
 (0)