Skip to content

Commit

Permalink
Update DuckDB driver test to use new storage initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
esevastyanov committed Dec 4, 2024
1 parent 516cd81 commit 15164b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/drivers/duckdb/olap_crud_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func Test_connection_InsertTableAsSelect_WithMergeStrategy(t *testing.T) {
temp := t.TempDir()

dbPath := filepath.Join(temp, "view.db")
handle, err := Driver{}.Open("default", map[string]any{"path": dbPath, "external_table_storage": true}, activity.NewNoopClient(), zap.NewNop())
handle, err := Driver{}.Open("default", map[string]any{"path": dbPath, "external_table_storage": true}, storage.MustNew(temp, nil), activity.NewNoopClient(), zap.NewNop())
require.NoError(t, err)
c := handle.(*connection)
require.NoError(t, c.Migrate(context.Background()))
Expand Down

0 comments on commit 15164b9

Please sign in to comment.