Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions acceptance/ssh/connect-dedicated-cluster/known_hosts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# not actually checked by tests
cluster ssh-rsa key
4 changes: 4 additions & 0 deletions acceptance/ssh/connect-dedicated-cluster/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions acceptance/ssh/connect-dedicated-cluster/output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Connecting to [TEST_DEFAULT_CLUSTER_ID]...
Checking cluster state...
Uploading binaries...
Starting SSH server...
Job submitted successfully with run ID: [NUMID]
Health check successful, starting ssh WebSocket connection...
Connected!
Checking cluster state...
Warning: Permanently added '[TEST_DEFAULT_CLUSTER_ID]' (RSA) to the list of known hosts.
Connection successful
Received termination signal, cleaning up...
Error: context canceled
1 change: 1 addition & 0 deletions acceptance/ssh/connect-dedicated-cluster/script
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$CLI ssh connect --cluster=$TEST_DEFAULT_CLUSTER_ID --user-known-hosts-file=known_hosts --releases-dir=$CLI_RELEASES_DIR -- "echo 'Connection successful'"
6 changes: 6 additions & 0 deletions acceptance/ssh/connect-dedicated-cluster/test.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Local = false
Cloud = true
RequiresCluster = true

[EnvMatrix]
DATABRICKS_BUNDLE_ENGINE = ["direct"]
4 changes: 4 additions & 0 deletions acceptance/ssh/connect-serverless-cpu/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions acceptance/ssh/connect-serverless-cpu/output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Connecting to databricks-cpu-6e7644d0...
WARNING: serverless compute without an accelerator is in private preview. If you are not enrolled, this command will likely time out with an error. Contact your Databricks account team to enroll.
Uploading binaries...
Starting SSH server...
Job submitted successfully with run ID: [NUMID]
Error: failed to ensure that ssh server is running: failed to start the ssh server: server metadata error
server is not ok, status code 503

This may be because serverless compute without an accelerator is in private preview.
Contact your Databricks account team to enroll.

Exit code: 1
1 change: 1 addition & 0 deletions acceptance/ssh/connect-serverless-cpu/script
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$CLI ssh connect --releases-dir=$CLI_RELEASES_DIR
8 changes: 8 additions & 0 deletions acceptance/ssh/connect-serverless-cpu/test.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Local = false
Cloud = true

# Serverless worklaods are only available in newer environments
RequiresUnityCatalog = true

[EnvMatrix]
DATABRICKS_BUNDLE_ENGINE = ["direct"]
Loading