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

Fix billing download acceptance test #764

Merged
merged 2 commits into from
Jan 10, 2024
Merged

Conversation

shreyas-goenka
Copy link
Contributor

@shreyas-goenka shreyas-goenka commented Jan 10, 2024

Fixes. TestMwsAccUsageDownload. The timeout is increased when the testing client is created because doing so in the test itself makes the transpilation test (TestLoadsFolder) fail

@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9632fb2) 18.24% compared to head (25502ed) 18.24%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #764   +/-   ##
=======================================
  Coverage   18.24%   18.24%           
=======================================
  Files         109      109           
  Lines       14810    14810           
=======================================
  Hits         2702     2702           
  Misses      11886    11886           
  Partials      222      222           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shreyas-goenka shreyas-goenka added this pull request to the merge queue Jan 10, 2024
Merged via the queue into main with commit 66dc3b1 Jan 10, 2024
4 checks passed
@shreyas-goenka shreyas-goenka deleted the fix-billing-download branch January 10, 2024 10:15
@tanmay-db tanmay-db mentioned this pull request Jan 10, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jan 10, 2024
* Extract API interfaces for all services and generate mock clients
([#740](#740)).
* Handle empty response for errors
([#756](#756)).
* Update SDK to OpenAPI spec + Fix tests
([#755](#755)).
* Add utility to retry on specific errors
([#757](#757)).
* Integration test fixes for TestMwsAccWorkspaces
([#763](#763)) and
TestMwsAccUsageDownload
([#764](#764)).

Note: This release contains breaking changes, please see below.

API Changes:

* [Breaking] Changed `List` method for
[w.ExternalLocations](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationsAPI)
workspace-level service to require request of
[catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest),
[w.StorageCredentials](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialsAPI)
workspace-level service to require request of
[catalog.ListStorageCredentialsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListStorageCredentialsRequest)
and
[w.Tokens](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#TokensAPI)
workspace-level service to return
[settings.ListPublicTokensResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#ListPublicTokensResponse).
* Added `NextPageToken` field for
[catalog.ListExternalLocationsResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsResponse),
[catalog.ListFunctionsResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsResponse),
[catalog.ListSchemasResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasResponse)
and
[catalog.ListStorageCredentialsResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListStorageCredentialsResponse).
* Added `MaxResults` field for
[catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest)
and
[catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest).
* Added `PageToken` field for
[catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest)
and
[catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest).
* Added `OmitColumns` and `OmitProperties` field for
[catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest).
* Added
[catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest).
* Added
[catalog.ListStorageCredentialsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListStorageCredentialsRequest).
* Added
[settings.ListPublicTokensResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/settings#ListPublicTokensResponse).
* Added
[dashboards](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards)
package.
* Added
[vectorsearch](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch)
package.

OpenAPI SHA: a7a9dc025bb80303e676bf3708942c6aa06689f1, Date: 2024-01-04
Dependency updates:

* Bump google.golang.org/api from 0.153.0 to 0.154.0
([#741](#741)).
* Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /examples/slog
([#747](#747)) and
/examples/zerolog
([#748](#748)).
* Bump golang.org/x/crypto from 0.16.0 to 0.17.0
([#749](#749)).
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