Skip to content

Commit 558de58

Browse files
committed
[DO NOT MERGE] add debug calls from node with token
1 parent bd08e77 commit 558de58

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

packages/cubejs-testing-drivers/test/databricks-jdbc-full.test.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,24 @@ https.get(
1515
}
1616
);
1717

18+
https.get(
19+
'https://ohio.cloud.databricks.com/sql/1.0/warehouses/',
20+
{
21+
headers: {
22+
authorization: process.env.DRIVERS_TESTS_CUBEJS_DB_DATABRICKS_TOKEN,
23+
}
24+
},
25+
(res) => {
26+
console.log(
27+
'res with token status and headers',
28+
res.statusCode,
29+
res.statusMessage,
30+
res.headers
31+
);
32+
res.on('data', (chunk) => console.log('res with token data', chunk.toString()));
33+
}
34+
);
35+
1836
testQueries('databricks-jdbc', {
1937
includeIncrementalSchemaSuite: true,
2038
includeHLLSuite: true,

0 commit comments

Comments
 (0)