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

[Internal] Delete examples/mocking module #1126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

parthban-db
Copy link
Contributor

@parthban-db parthban-db commented Jan 17, 2025

What changes are proposed in this pull request?

This PR deletes the examples/mocking directory as it is no longer maintained. This mocker example is built on the assumption that every service has WithImpl() that is used to set the stubs for every service. But this is no longer the case. This mocker is not even able to compile.

How is this tested?

N/A

Copy link

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-go

Inputs:

  • PR number: 1126
  • Commit SHA: ecb28ba2de8dab7905418d2293acb298fbafe3de

Checks will be approved automatically on success.

@parthban-db parthban-db deployed to test-trigger-is January 17, 2025 18:01 — with GitHub Actions Active
w, err := databricks.NewWorkspaceClient()
require.NoError(t, err)

w.Dbfs.WithImpl(mockDbfs)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@renaudhartert-db What do you say? Should we delete this module or find a way to support it? Random fact: this mocker is too old that it even uses the Dbfs package, which does not even exist anymore :)

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.

1 participant