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

Remove core-http from perf tests #26276

Merged
merged 4 commits into from
Jun 20, 2023
Merged

Remove core-http from perf tests #26276

merged 4 commits into from
Jun 20, 2023

Conversation

xirzec
Copy link
Member

@xirzec xirzec commented Jun 20, 2023

Packages impacted by this PR

@azure-tests/perf-storage-blob
@azure-tests/perf-core-rest-pipeline
@azure/test-utils-perf

Issues associated with this PR

#24525

Describe the problem that is addressed by this PR

Remove last references to core-http from the tree as it will soon be deprecated.

@xirzec xirzec self-assigned this Jun 20, 2023
@github-actions github-actions bot added Azure.Core Storage Storage Service (Queues, Blobs, Files) labels Jun 20, 2023
this.blobServiceClient = BlobServiceClient.fromConnectionString(connectionString);
const options = this.configureClientOptions({ additionalPolicies: [] });

const pipeline = this.blobServiceClient["storageClientContext"].pipeline;
Copy link
Member

Choose a reason for hiding this comment

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

Hmmm, I can see why you're having to do this.

Why doesn't storage's client options extend from common client options?
That way we'd get the additionalPolicies array directly.

Copy link
Member Author

Choose a reason for hiding this comment

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

Storage never used our common options because they had some custom ones, and now it would conflict a bit since they have the old "HttpClient" shape from core-http that is maintained for back compat. :(

@xirzec xirzec merged commit 2d25e3d into Azure:main Jun 20, 2023
@xirzec xirzec deleted the removeCoreHttpRefs branch June 20, 2023 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants