Skip to content

Commit d469f49

Browse files
authored
Pass on upstream tool and version to bricks sync (#433)
1 parent d8b8ad8 commit d469f49

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

packages/databricks-vscode/src/cli/BricksTasks.test.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ describe(__filename, () => {
2424
instance(connection),
2525
instance(cli),
2626
"incremental",
27-
{} as PackageMetaData,
27+
{
28+
version: "1.0.0",
29+
} as PackageMetaData,
2830
() => {}
2931
);
3032

@@ -80,7 +82,9 @@ describe(__filename, () => {
8082
instance(connection),
8183
instance(cli),
8284
"full",
83-
{} as PackageMetaData,
85+
{
86+
version: "1.0.0",
87+
} as PackageMetaData,
8488
() => {}
8589
);
8690
});
@@ -94,6 +98,8 @@ describe(__filename, () => {
9498
env: {
9599
/* eslint-disable @typescript-eslint/naming-convention */
96100
BRICKS_ROOT: Uri.file("/path/to/local/workspace").fsPath,
101+
BRICKS_UPSTREAM: "databricks-vscode",
102+
BRICKS_UPSTREAM_VERSION: "1.0.0",
97103
DATABRICKS_CONFIG_PROFILE: "profile",
98104
DATABRICKS_CONFIG_FILE: undefined,
99105
HOME: process.env.HOME,
@@ -112,6 +118,8 @@ describe(__filename, () => {
112118
env: {
113119
/* eslint-disable @typescript-eslint/naming-convention */
114120
BRICKS_ROOT: Uri.file("/path/to/local/workspace").fsPath,
121+
BRICKS_UPSTREAM: "databricks-vscode",
122+
BRICKS_UPSTREAM_VERSION: "1.0.0",
115123
DATABRICKS_CONFIG_PROFILE: "profile",
116124
DATABRICKS_CONFIG_FILE: undefined,
117125
HOME: process.env.HOME,

0 commit comments

Comments
 (0)