acc: run ssh/connection locally#5907
Open
radakam wants to merge 2 commits into
Open
Conversation
Flip acceptance/ssh/connection to Local = true so it runs against the in-process testserver (it was disabled on both cloud and local in #4838). This is the dedicated-cluster counterpart to connect-serverless-gpu: a full SSH handshake can't complete locally (no real compute/sshd + a wss driver-proxy), so the local run drives the connect flow up to the connection attempt and asserts the dedicated-cluster bootstrap job the CLI submits (existing_cluster_id, secret scope, notebook task, serverless=false). Make the default test cluster a running dedicated single-user cluster so `ssh connect --cluster` passes ValidateClusterAccess and the cluster-state check, matching the cloud TEST_DEFAULT_CLUSTER_ID this fixture stands in for. The connect attempt itself is expected to fail locally; its noisy output goes to LOG.stderr (excluded from the golden files).
Contributor
Waiting for approvalBased on git history, these people are best suited to review:
Eligible reviewers: Suggestions based on git history. See OWNERS for ownership rules. |
Collaborator
Integration test reportCommit: 1fc5b95
8 interesting tests: 4 SKIP, 3 KNOWN, 1 RECOVERED
Top 10 slowest tests (at least 2 minutes):
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
The dedicated-cluster counterpart to
acceptance/ssh/connect-serverless-gpu(#5878). Flipsacceptance/ssh/connectiontoLocal = trueand asserts the bootstrap job the CLI submits forssh connect --cluster(existing_cluster_id, secret scope, notebook task,serverless=false), reusing the testserver SSH-tunnel stubs from #5878.The default test cluster (
TestDefaultClusterId) is now a running dedicated single-user cluster — the shapessh connect --clusterrequires (ValidateClusterAccessrejects anything else), matching the cloudTEST_DEFAULT_CLUSTER_IDit stands in for. Onlybundle/deployment/bind/cluster(filters tocluster_name) and thecmd/apiroute stubs reference it, so no other goldens change.Tests
acceptance/ssh/connection(asserts the submitted dedicated-cluster bootstrap job payload)