changes for rc1

This commit is contained in:
Bryce Lampe
2025-05-09 09:39:13 -07:00
parent f37fe4d2d7
commit 53d91af128
16 changed files with 102 additions and 95 deletions

View File

@@ -327,7 +327,7 @@ func TestImageLifecycle(t *testing.T) {
Resource: "docker-build:index:Image",
Create: tt.op(t),
}
s := newServer(tt.client(t))
s := newServer(t.Context(), t, tt.client(t))
err := s.Configure(provider.ConfigureRequest{})
require.NoError(t, err)
@@ -352,7 +352,7 @@ func TestDelete(t *testing.T) {
Delete(gomock.Any(), "docker.io/pulumi/test@sha256:foo").
Return(errNotFound{})
s := newServer(client)
s := newServer(t.Context(), t, client)
err := s.Configure(provider.ConfigureRequest{})
require.NoError(t, err)
@@ -390,7 +390,7 @@ func TestRead(t *testing.T) {
},
}, nil)
s := newServer(client)
s := newServer(t.Context(), t, client)
err := s.Configure(provider.ConfigureRequest{})
require.NoError(t, err)
@@ -793,7 +793,7 @@ func TestImageDiff(t *testing.T) {
},
}
s := newServer(nil)
s := newServer(t.Context(), t, nil)
encode := func(t *testing.T, x any) property.Map {
raw, err := mapper.New(&mapper.Opts{IgnoreMissing: true}).Encode(x)