Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
integration/docker: unskip yum test
Browse files Browse the repository at this point in the history
yum command works well in kata containers, unskip and reimplement yum test

Signed-off-by: Julio Montes <[email protected]>
  • Loading branch information
Julio Montes committed Feb 25, 2019
1 parent 18a1c84 commit d54e02f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions integration/docker/package_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,14 @@ var _ = Describe("package manager update test", func() {

Context("check yum update", func() {
It("should not fail", func() {
Skip("Issue: https://github.com/kata-containers/tests/issues/264")
args = append(args, "--rm", "--name", id, CentosImage, "yum", "-y", "update")
args = append(args, "--rm", "-td", "--name", id, CentosImage, "sh")
_, _, exitCode := dockerRun(args...)
Expect(exitCode).To(BeZero())

exitCode = tryPackageManagerCommand(id, []string{"yum", "-y", "update"}, 0)
Expect(exitCode).To(BeZero())

Expect(RemoveDockerContainer(id)).To(BeTrue())
})
})
})

0 comments on commit d54e02f

Please sign in to comment.