Skip to content

Commit

Permalink
Revert "add defers"
Browse files Browse the repository at this point in the history
This reverts commit 5d80384.
  • Loading branch information
schristoff committed Feb 4, 2024
1 parent 5d80384 commit 991587e
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions build/testdata/bundles/mysql/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
Dockerfile
.cnab
2 changes: 0 additions & 2 deletions build/testdata/bundles/wordpress/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
Dockerfile
.cnab
2 changes: 0 additions & 2 deletions build/testdata/bundles/wordpressv2/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
Dockerfile
.cnab
1 change: 0 additions & 1 deletion cmd/porter/completion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ func TestCompletion(t *testing.T) {

func TestCompletion_SkipConfig(t *testing.T) {
p := porter.NewTestPorter(t)
defer p.Close()
cmd := buildCompletionCommand(p.Porter)
shouldSkip := shouldSkipConfig(cmd)
require.True(t, shouldSkip, "expected that we skip loading configuration for the completion command")
Expand Down
1 change: 0 additions & 1 deletion pkg/grpc/portergrpc/installation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ func TestListInstallationsReturnsErrorIfUnableToGetPorterConnectionFromRequestCo

func setupTestPorterWithInstallations(t *testing.T, installations []instInfo) (context.Context, map[string]porter.DisplayInstallation) {
p := porter.NewTestPorter(t)
defer p.Close()
insts := map[string]porter.DisplayInstallation{}
for _, inst := range installations {
installation := storage.NewInstallation(inst.namespace, inst.name)
Expand Down
1 change: 0 additions & 1 deletion tests/integration/dependenciesv2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ func TestSharedDependencies(t *testing.T) {
t.Parallel()

p := porter.NewTestPorter(t)
defer p.Close()
ctx := p.SetupIntegrationTest()

p.Config.SetExperimentalFlags(experimental.FlagDependenciesV2)
Expand Down

0 comments on commit 991587e

Please sign in to comment.