Skip to content

Commit 7f0f998

Browse files
committed
test: add top command in upgrade test suite
Signed-off-by: Allen Sun <[email protected]>
1 parent c23097e commit 7f0f998

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)