Skip to content

Commit 69f8f26

Browse files
committed
pkg/machine/e2e: remove build context skip
The machine images should contain a new enough podman on the server side to support this so the skips can be removed. Signed-off-by: Paul Holzinger <[email protected]>
1 parent 08f0480 commit 69f8f26

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

pkg/machine/e2e/basic_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ var _ = Describe("run basic podman commands", func() {
249249
})
250250

251251
It("podman build contexts", func() {
252-
skipIfVmtype(define.HyperVVirt, "FIXME: #23429 - Error running podman build with option --build-context on Hyper-V")
253252
name := randomString()
254253
i := new(initMachine)
255254
session, err := mb.setName(name).setCmd(i.withImage(mb.imagePath).withNow()).run()
@@ -272,15 +271,6 @@ var _ = Describe("run basic podman commands", func() {
272271

273272
bm := basicMachine{}
274273
build, err := mb.setCmd(bm.withPodmanCommand([]string{"build", "-t", name, "--build-context", "test-context=" + additionalContextDir, mainContextDir})).run()
275-
276-
if build != nil && build.ExitCode() != 0 {
277-
output := build.outputToString() + build.errorToString()
278-
if strings.Contains(output, "multipart/form-data") &&
279-
strings.Contains(output, "not supported") {
280-
Skip("Build contexts with multipart/form-data are not supported on this version")
281-
}
282-
}
283-
284274
Expect(err).ToNot(HaveOccurred())
285275
Expect(build).To(Exit(0))
286276
Expect(build.outputToString()).To(ContainSubstring("COMMIT"))

0 commit comments

Comments
 (0)