Skip to content

Commit f3803db

Browse files
authored
Proxy environment variable can be lower case (#505)
fixes #476
1 parent 0d95015 commit f3803db

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/databricks-sdk-js/src/config/Config.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ describe(__dirname, function () {
3434
if (testCase.only) {
3535
// eslint-disable-next-line no-only-tests/no-only-tests
3636
it.only(testCase.name, async function () {
37-
this.timeout(5_000);
37+
this.timeout(10_000);
3838
await apply(testCase);
3939
});
4040
} else if (testCase.skip) {
4141
it.skip(testCase.name, async () => {});
4242
} else {
4343
it(testCase.name, async function () {
44-
this.timeout(5_000);
44+
this.timeout(10_000);
4545
await apply(testCase);
4646
});
4747
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ export class LazyCustomSyncTerminal extends CustomSyncTerminal {
250250
// Pass through proxy settings to child process.
251251
const proxySettings: {[key: string]: string | undefined} = {
252252
/* eslint-disable @typescript-eslint/naming-convention */
253-
HTTP_PROXY: process.env.HTTP_PROXY,
254-
HTTPS_PROXY: process.env.HTTPS_PROXY,
253+
HTTP_PROXY: process.env.HTTP_PROXY || process.env.http_proxy,
254+
HTTPS_PROXY: process.env.HTTPS_PROXY || process.env.https_proxy,
255255
/* eslint-enable @typescript-eslint/naming-convention */
256256
};
257257

0 commit comments

Comments
 (0)