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

Do not run mlops-stacks integration test in parallel #1982

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

shreyas-goenka
Copy link
Contributor

@shreyas-goenka shreyas-goenka commented Dec 9, 2024

Changes

This test changes the cwd using the testutil.Chdir function. This causes flakiness with other integration tests, like TestAccWorkspaceFilesExtensionsNotebooksAreNotDeletedAsFiles, which rely on the cwd being configured correctly to read test fixtures.

The t.Setenv call in testutil.Chdir ensures that it is not run from a test whose upstream is executing in parallel.

@shreyas-goenka shreyas-goenka requested review from pietern and removed request for pietern December 9, 2024 11:11
Copy link

github-actions bot commented Dec 9, 2024

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

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 1982
  • Commit SHA: d372b5d14f6550309973768dc43c5778174a1505

Checks will be approved automatically on success.

@eng-dev-ecosystem-bot
Copy link
Collaborator

Test Details: go/deco-tests/12234476741

@shreyas-goenka shreyas-goenka added this pull request to the merge queue Dec 9, 2024
Merged via the queue into main with commit e0d54f0 Dec 9, 2024
11 checks passed
@shreyas-goenka shreyas-goenka deleted the fix/flaky-ml-test branch December 9, 2024 12:39
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.

3 participants