Skip to content

Commit 8712e52

Browse files
author
Jesse
committed
Improve e2e test development ergonomics (databricks#155)
--------- Signed-off-by: Jesse Whitehouse <[email protected]>
1 parent fe8f7cf commit 8712e52

9 files changed

+1046
-1019
lines changed

.gitignore

+4-1
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

+1
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

+9
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,15 @@ export catalog=""
111111
export schema=""
112112
```
113113

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

0 commit comments

Comments
 (0)