vendor: github.com/moby/buildkit v0.22.0-rc1
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
+4
-1
@@ -518,7 +518,10 @@ func testBuildProgress(t *testing.T, sb integration.Sandbox) {
|
||||
|
||||
// progress=tty
|
||||
cmd := buildxCmd(sb, withArgs("build", "--progress=tty", "--output=type=cacheonly", dir))
|
||||
f, err := pty.Start(cmd)
|
||||
f, err := pty.StartWithSize(cmd, &pty.Winsize{
|
||||
Cols: 120,
|
||||
Rows: 24,
|
||||
})
|
||||
require.NoError(t, err)
|
||||
buf := bytes.NewBuffer(nil)
|
||||
io.Copy(buf, f)
|
||||
|
||||
Reference in New Issue
Block a user