Ensure build finishes before ending test
@@ -69,6 +69,11 @@ var _ = Describe(":life [#136140165] Container scope", func() {
"-b", "1",
"touch", "/tmp/stop-waiting",
)
+
+ <-hijackSession.Exited
+ Expect(hijackSession.ExitCode()).To(Equal(0))
+
+ Eventually(buildSession).Should(gbytes.Say("done"))
})
})
})
