integration/build: Use new buildkit progressui

Introduced in: 37131781d7

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski 2024-02-09 14:56:00 +01:00
parent 31545c3b67
commit dd6992617e
No known key found for this signature in database
GPG key ID: B85EFCFE26DEF92A

View file

@ -56,8 +56,11 @@ func TestBuildkitHistoryTracePropagation(t *testing.T) {
<-sub.Context().Done()
}()
d, err := progressui.NewDisplay(&testWriter{t}, progressui.AutoMode, progressui.WithPhase("test"))
assert.NilError(t, err)
eg.Go(func() error {
_, err := progressui.DisplaySolveStatus(ctxGo, nil, &testWriter{t}, ch, progressui.WithPhase("test"))
_, err := d.UpdateFrom(ctxGo, ch)
return err
})