Skip to content

Commit 086af0f

Browse files
Merge pull request #26751 from Luap99/build-context-machine
pkg/machine/e2e: remove build context skip
2 parents 15134d2 + 69f8f26 commit 086af0f

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)