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

[Storage] Perf test client ctors. #21671

Merged
merged 4 commits into from
Jun 7, 2021
Merged

Conversation

kasobol-msft
Copy link
Contributor

@kasobol-msft kasobol-msft commented Jun 7, 2021

To address #21622

Calls to various ctors and hierarchy are piled up in single test because:

  • we don't add new but rather expand options
  • they change infrequently
  • this is to catch regressions, regressing single ctor should give enough signal to trigger investigation.

@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Jun 7, 2021
@kasobol-msft kasobol-msft marked this pull request as ready for review June 7, 2021 22:11
@kasobol-msft kasobol-msft requested a review from mikeharder June 7, 2021 22:11

new DataLakeDirectoryClient(s_fileUri);
new DataLakeDirectoryClient(s_fileUri, s_tokenCredential);
new DataLakeDirectoryClient(s_fileUri, s_testEnvironment.DataLakeCredential);
Copy link
Member

Choose a reason for hiding this comment

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

Should there also be DataLakeFileClient and DataLakePathClient, or is this enough?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch, this was supposed to be file client.

@amnguye
Copy link
Member

amnguye commented Jun 7, 2021

Do we also need to do queues?

@kasobol-msft
Copy link
Contributor Author

Do we also need to do queues?

There's no perf test project for Queues. @mikeharder is there a plan to have one?

@kasobol-msft kasobol-msft merged commit 091e8ef into Azure:master Jun 7, 2021
@kasobol-msft kasobol-msft deleted the test-ctors branch June 7, 2021 22:58
@mikeharder
Copy link
Member

Do we also need to do queues?

There's no perf test project for Queues. @mikeharder is there a plan to have one?

Ideally we should have at least one perf test for every SDK. It's primarily up to the SDK owner to create the perf test project.

azure-sdk pushed a commit to azure-sdk/azure-sdk-for-net that referenced this pull request Dec 22, 2022
[Hub Generated] Review request for Microsoft.KeyVault to add version preview/2021-06-01-preview (Azure#21671)

* Fix s360 alerts for properties being returned in GET but not exising in PUT requests

* Prettier fix

* Fix model validation error for long running operation response missing location header

* removed default value for array as it breaks the arm template schema creation

* removed default value for array for managed hsm virtual network rule as it breaks the arm template schema creation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants