Skip to content

Commit fecfa88

Browse files
author
Jesse
authored
Improve e2e test development ergonomics (databricks#155)
--------- Signed-off-by: Jesse Whitehouse <[email protected]>
1 parent 7fcfa7b commit fecfa88

File tree

9 files changed

+1046
-1019
lines changed

9 files changed

+1046
-1019
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,7 @@ dist/
204204
build/
205205

206206
# vs code stuff
207-
.vscode
207+
.vscode
208+
209+
# don't commit authentication info to source control
210+
test.env

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 2.6.x (Unreleased)
44

5+
- Improve e2e test development ergonomics
56
- Redact logged thrift responses by default
67
- Add support for OAuth on Databricks Azure
78

CONTRIBUTING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,15 @@ export http_path=""
109109
export access_token=""
110110
```
111111

112+
Or you can write these into a file called `test.env` in the root of the repository:
113+
114+
```
115+
host="****.cloud.databricks.com"
116+
http_path="/sql/1.0/warehouses/***"
117+
access_token="dapi***"
118+
staging_ingestion_user="***@example.com"
119+
```
120+
112121
There are several e2e test suites available:
113122
- `PySQLCoreTestSuite`
114123
- `PySQLLargeQueriesSuite`

0 commit comments

Comments
 (0)