Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvz committed Mar 22, 2024
1 parent c187396 commit e5fc454
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkg/azuredisk/azuredisk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,14 @@ func TestRun(t *testing.T) {
t.Setenv("AZURE_FEDERATED_TOKEN_FILE", "fake-token-file")

d := newDriverV1(&DriverOptions{
Endpoint: "tcp://127.0.0.1:0",
NodeID: "",
DriverName: consts.DefaultDriverName,
EnableListVolumes: true,
EnableListSnapshots: true,
EnablePerfOptimization: true,
VMSSCacheTTLInSeconds: 10,
VMType: "vmss",
Endpoint: "tcp://127.0.0.1:0",
})

ctx, cancel := context.WithCancel(context.Background())
Expand Down

0 comments on commit e5fc454

Please sign in to comment.