Skip to content

Commit

Permalink
test: Fix sanity test
Browse files Browse the repository at this point in the history
  • Loading branch information
hrak committed Jun 27, 2024
1 parent 77d212e commit f1fd6b8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/sanity/sanity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ func TestSanity(t *testing.T) {
logger := klog.Background()
ctx := klog.NewContext(context.Background(), logger)

csiDriver, err := driver.New(endpoint, fake.New(), mount.NewFake(), "node", "v0")
options := driver.Options{
Mode: driver.AllMode,
Endpoint: endpoint,
NodeName: "node",
}
csiDriver, err := driver.New(ctx, fake.New(), &options, mount.NewFake())
if err != nil {
t.Fatalf("error creating driver: %v", err)
}
Expand Down

0 comments on commit f1fd6b8

Please sign in to comment.