Skip to content

Commit

Permalink
Stop proservices before require clauses in test
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosNihelton committed Apr 19, 2024
1 parent b920c2d commit a4fb4f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions windows-agent/internal/proservices/proservices_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func TestNew(t *testing.T) {
}

s, err := proservices.New(ctx, publicDir, privateDir, proservices.WithRegistry(reg))
defer s.Stop(ctx)
if tc.wantErr {
require.Error(t, err, "New should return an error")
return
Expand Down

0 comments on commit a4fb4f6

Please sign in to comment.