Skip to content

Convert TestBasicBundleDeployWithDoubleUnderscoreVariables integration test to an acceptance test#2882

Merged
anton-107 merged 4 commits intomainfrom
anton-107/acc-double-underscore
May 15, 2025
Merged

Convert TestBasicBundleDeployWithDoubleUnderscoreVariables integration test to an acceptance test#2882
anton-107 merged 4 commits intomainfrom
anton-107/acc-double-underscore

Conversation

@anton-107
Copy link
Copy Markdown
Contributor

Why

One change in the series of changes for converting integration tests into acceptance tests.
This will allow for easier testing of various backing solutions for bundle deployment

@anton-107 anton-107 temporarily deployed to test-trigger-is May 14, 2025 12:49 — with GitHub Actions Inactive
@anton-107 anton-107 temporarily deployed to test-trigger-is May 14, 2025 12:59 — with GitHub Actions Inactive
@anton-107 anton-107 marked this pull request as ready for review May 14, 2025 13:07
Copy link
Copy Markdown
Contributor

@denik denik left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good, one comment about bundle.name.

Comment thread acceptance/bundle/deploy/jobs/double-underscore-keys/databricks.yml.tmpl Outdated
@anton-107 anton-107 temporarily deployed to test-trigger-is May 14, 2025 13:49 — with GitHub Actions Inactive
@anton-107 anton-107 force-pushed the anton-107/acc-double-underscore branch from 347dfaa to dea0049 Compare May 14, 2025 13:49
@anton-107 anton-107 temporarily deployed to test-trigger-is May 14, 2025 13:49 — with GitHub Actions Inactive
@anton-107 anton-107 added this pull request to the merge queue May 15, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 15, 2025
@anton-107 anton-107 added this pull request to the merge queue May 15, 2025
@denik denik removed this pull request from the merge queue due to a manual request May 15, 2025
Comment thread libs/testserver/fake_workspace.go Outdated
func (s *FakeWorkspace) JobsDelete(request jobs.DeleteJob) Response {
defer s.LockUnlock()()

delete(s.jobs, request.JobId)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This could probably be replaced by MapDelete as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

func MapDelete[T any](w *FakeWorkspace, collection map[string]T, key string) Response

accepts map[string]T, while s.jobs is a map[int64]jobs.Job

Would you like to make MapDelete more generic?

Copy link
Copy Markdown
Contributor

@denik denik May 15, 2025

Choose a reason for hiding this comment

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

Thanks, I did not realize it's a different key type.

Would you like to make MapDelete more generic?

Seems like a good idea, I don't see why not?

Copy link
Copy Markdown
Contributor Author

@anton-107 anton-107 May 15, 2025

Choose a reason for hiding this comment

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

Seems like a good idea, I don't see why not?

Done in the follow-up commit

@anton-107 anton-107 added this pull request to the merge queue May 15, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 15, 2025
@denik denik self-requested a review May 15, 2025 09:17
@anton-107 anton-107 force-pushed the anton-107/acc-double-underscore branch from dea0049 to a19732d Compare May 15, 2025 09:32
@anton-107 anton-107 temporarily deployed to test-trigger-is May 15, 2025 09:32 — with GitHub Actions Inactive
@anton-107 anton-107 force-pushed the anton-107/acc-double-underscore branch from a19732d to bf02126 Compare May 15, 2025 10:45
@anton-107 anton-107 temporarily deployed to test-trigger-is May 15, 2025 10:45 — with GitHub Actions Inactive
@anton-107 anton-107 added this pull request to the merge queue May 15, 2025
Merged via the queue into main with commit ed1a981 May 15, 2025
10 checks passed
@anton-107 anton-107 deleted the anton-107/acc-double-underscore branch May 15, 2025 11:25
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.

2 participants