Skip to content

Commit

Permalink
fix e2e test
Browse files Browse the repository at this point in the history
Signed-off-by: rcmadhankumar <rcmadhankumar@gmail.com>
  • Loading branch information
rcmadhankumar committed May 3, 2024
1 parent afae4e4 commit 968ccbb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/e2e/describe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -873,8 +873,7 @@ origin: %s%s
)
fakeRegistryBuilder.WithBasicAuth(username, password)
_ = fakeRegistryBuilder.Build()
defer fakeRegistryBuilder.CleanUp()

defer fakeRegistryBuilder.CleanUp()
imgRef, err := regname.ParseReference(env.Image)
require.NoError(t, err)

Expand Down Expand Up @@ -919,6 +918,9 @@ images:
require.NoError(t, err)
})

// cleanup fake registry as it is not needed anymore
fakeRegistryBuilder.CleanUp()

logger.Section("executes describe command", func() {
stdout := imgpkg.Run(
[]string{"describe",
Expand Down

0 comments on commit 968ccbb

Please sign in to comment.