Skip to content

Commit

Permalink
Fix cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-asawicki committed Dec 8, 2024
1 parent 086e202 commit e97df58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sdk/testint/functions_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func TestInt_Functions(t *testing.T) {
err := client.Functions.CreateForJava(ctx, request)
require.NoError(t, err)
t.Cleanup(testClientHelper().Function.DropFunctionFunc(t, id))
t.Cleanup(testClientHelper().Stage.RemoveFromUserStageFunc(t, targetPath))
t.Cleanup(testClientHelper().Stage.RemoveFromUserStageFunc(t, jarName))

function, err := client.Functions.ShowByID(ctx, id)
require.NoError(t, err)
Expand Down Expand Up @@ -926,7 +926,7 @@ func TestInt_Functions(t *testing.T) {
err := client.Functions.CreateForScala(ctx, request)
require.NoError(t, err)
t.Cleanup(testClientHelper().Function.DropFunctionFunc(t, id))
t.Cleanup(testClientHelper().Stage.RemoveFromUserStageFunc(t, targetPath))
t.Cleanup(testClientHelper().Stage.RemoveFromUserStageFunc(t, jarName))

function, err := client.Functions.ShowByID(ctx, id)
require.NoError(t, err)
Expand Down

0 comments on commit e97df58

Please sign in to comment.