Browse Source

integration/build: Use new buildkit progressui

Introduced in: https://github.com/moby/buildkit/commit/37131781d719f0ed5a182ebf6b2f6e91288bcd28

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Paweł Gronowski 1 year ago
parent
commit
dd6992617e
1 changed files with 4 additions and 1 deletions
  1. 4 1
      integration/build/build_traces_test.go

+ 4 - 1
integration/build/build_traces_test.go

@@ -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
 	})