Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added E2E test to run Python wheels on interactive cluster created in bundle #1864

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

andrewnester
Copy link
Contributor

@andrewnester andrewnester commented Oct 29, 2024

Changes

Added E2E test to run python wheels on interactive cluster created in bundle.

We had a gap in testing wheel on all purpose clusters, so this PR addresses the gap

@eng-dev-ecosystem-bot
Copy link
Collaborator

Test Details: go/deco-tests/11575017338

@pietern pietern changed the title Added E2E test to run python wheels on interactive cluster created in bundle Added E2E test to run Python wheels on interactive cluster created in bundle Oct 31, 2024
Copy link
Contributor

@pietern pietern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you elaborate in the PR summary on what prompted you to add coverage for this?

@andrewnester andrewnester added this pull request to the merge queue Oct 31, 2024
@pietern pietern removed this pull request from the merge queue due to a manual request Oct 31, 2024
"type": "string",
"description": "Unique ID for job name"
},
"instance_pool_id": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not being used in the test, should we use it in the cluster specification to reduce the time this test takes to run?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We create an interactive cluster as part of this test, so instance_pool_id needs to be removed

func TestAccPythonWheelTaskDeployAndRunOnInteractiveCluster(t *testing.T) {
_, wt := acc.WorkspaceTest(t)

if testutil.IsAWSCloud(wt.T) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can create clusters on AWS right? Does the test runner not have enough permissions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a permission issue, yes

@andrewnester andrewnester added this pull request to the merge queue Nov 1, 2024
Merged via the queue into main with commit 71cf426 Nov 1, 2024
8 checks passed
@andrewnester andrewnester deleted the fix/interactive-cluster-libraries branch November 1, 2024 14:30
andrewnester added a commit that referenced this pull request Nov 6, 2024
CLI:
 * Clean host URL in the `auth login` command ([#1879](#1879)).

Bundles:
 * Fix bundle run when run interactively ([#1880](#1880)).
 * Fix relative path resolution for dashboards on Windows ([#1881](#1881)).

Internal:
 * Address goreleaser deprecation warning ([#1872](#1872)).
 * Update actions/github-script to v7 ([#1873](#1873)).
 * Use Go 1.23 ([#1871](#1871)).
 * [Internal] Always write message for manual integration test trigger ([#1874](#1874)).
 * Add `cmd-exec-id` to user agent ([#1808](#1808)).
 * Added E2E test to run Python wheels on interactive cluster created in bundle ([#1864](#1864)).

Dependency updates:
 * Bump github.com/hashicorp/terraform-json from 0.22.1 to 0.23.0 ([#1877](#1877)).
github-merge-queue bot pushed a commit that referenced this pull request Nov 6, 2024
CLI:
* Clean host URL in the `auth login` command
([#1879](#1879)).

Bundles:
* Fix bundle run when run interactively
([#1880](#1880)).
* Fix relative path resolution for dashboards on Windows
([#1881](#1881)).

Internal:
* Address goreleaser deprecation warning
([#1872](#1872)).
* Update actions/github-script to v7
([#1873](#1873)).
 * Use Go 1.23 ([#1871](#1871)).
* [Internal] Always write message for manual integration test trigger
([#1874](#1874)).
* Add `cmd-exec-id` to user agent
([#1808](#1808)).
* Added E2E test to run Python wheels on interactive cluster created in
bundle ([#1864](#1864)).


Dependency updates:
* Bump github.com/hashicorp/terraform-json from 0.22.1 to 0.23.0
([#1877](#1877)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants