Skip to content

Commit

Permalink
chore(test): fix linter issues
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Castilio dos Santos <[email protected]>
  • Loading branch information
alexcastilio committed Feb 10, 2025
1 parent 0ef18bd commit 1318048
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/framework/helpers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func Context(t *testing.T) (context.Context, context.CancelFunc) {
// Subtract a minute from the deadline to ensure we have time to cleanup
deadline = deadline.Add(-time.Minute)

ctx, cancel := context.WithDeadline(context.Background(), deadline) //nolint: ineffassign // cancel is reassigned in next line
ctx, cancel := context.WithDeadline(context.Background(), deadline) //nolint:all // cancel is reassigned in next line
ctx, cancel = signal.NotifyContext(ctx, syscall.SIGINT, syscall.SIGTERM)

return ctx, cancel
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/jobs/scale.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func GetScaleTestInfra(subID, rg, clusterName, location, kubeConfigFilePath stri

job.AddStep((&azure.CreateCluster{
ClusterName: clusterName,
Nodes: nodes,
Nodes: nodes,
}).
SetPodCidr("100.64.0.0/10").
SetVMSize("Standard_D4_v3").
Expand Down

0 comments on commit 1318048

Please sign in to comment.