Skip to content

Replace cluster start integration test - #919

Closed
hectorcast-db wants to merge 1 commit into
databricks:mainfrom
hectorcast-db:replace-cluster-start-it
Closed

hectorcast-db wants to merge 1 commit into
databricks:mainfrom
hectorcast-db:replace-cluster-start-it

Conversation

@hectorcast-db

Copy link
Copy Markdown
Contributor

Changes

  • remove ClustersIT.ensuresClusterIsRunning, which starts a real cluster
  • cover TERMINATED -> start -> PENDING -> RUNNING in ClustersExtTest with a mocked ClustersService
  • verify the start request, cluster IDs, request order, and polling count

Tests

  • JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 mvn spotless:apply
  • JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 mvn -pl databricks-sdk-java -Dtest=ClustersExtTest test

Signed-off-by: Hector Castejon Diaz <hector.castejon@databricks.com>
@hectorcast-db
hectorcast-db deployed to test-trigger-is September 15, 2026 08:28 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown
Contributor

Please ensure that the NEXT_CHANGELOG.md file is updated with any relevant changes.
If this is not necessary for your PR, please include the following in your PR description:
NO_CHANGELOG=true
and rerun the job.

@github-actions

Copy link
Copy Markdown
Contributor

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-java

Inputs:

  • PR number: 919
  • Commit SHA: 7cbd77268bfacea4e42c299c091e81ae4bb1bff8

Checks will be approved automatically on success.

@hectorcast-db hectorcast-db added the CI:run-diffviewer Run DiffViewer CI for this pull request label Sep 15, 2026
@hectorcast-db
hectorcast-db requested review from Divyansh-db and removed request for Divyansh-db September 15, 2026 08:33
@hectorcast-db

Copy link
Copy Markdown
Contributor Author

PR created in fork by mistake.

@hectorcast-db
hectorcast-db deployed to test-trigger-is September 15, 2026 09:22 — with GitHub Actions Active
@hectorcast-db
hectorcast-db deployed to test-trigger-is September 15, 2026 09:22 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:run-diffviewer Run DiffViewer CI for this pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant