Skip to content

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

Merged
aslushnikov merged 1 commit intomicrosoft:release-1.36from
dgozman:r1.36-aeba083
Jul 11, 2023
Merged

cherry-pick(#24145): fix(snapshots): match resources by method#24147
aslushnikov merged 1 commit intomicrosoft:release-1.36from
dgozman:r1.36-aeba083

Conversation

@dgozman
Copy link
Copy Markdown
Collaborator

@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
Copy Markdown
Contributor

"tests 1" report.

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

2 participants