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

cherry-pick(#24145): fix(snapshots): match resources by method #24147

Merged
merged 1 commit into from Jul 11, 2023

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Jul 11, 2023

Fixes #24144.

Previously, we only matched by url, which confuses GET and HEAD requests where the latter is usually zero-sized.

Also make sure that resources are sorted by their monotonicTime, since that's not always the case in the trace file, where they are sorted by the "response body retrieved" time.

Fixes microsoft#24144.

Previously, we only matched by url, which confuses GET and HEAD requests
where the latter is usually zero-sized.

Also make sure that resources are sorted by their monotonicTime, since
that's not always the case in the trace file, where they are sorted by
the "response body retrieved" time.
@github-actions
Copy link
Contributor

"tests 1" report.

@aslushnikov aslushnikov merged commit 74ec8c2 into microsoft:release-1.36 Jul 11, 2023
27 checks passed
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.

None yet

2 participants