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

tests: default to 0 for network trace data length #16041

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

connorjclark
Copy link
Collaborator

@connorjclark connorjclark commented Jun 4, 2024

ref #15841

This was the cause of the test failure in uses-http2-test.js.

@connorjclark connorjclark requested a review from a team as a code owner June 4, 2024 23:59
@connorjclark connorjclark removed the request for review from a team June 4, 2024 23:59
@@ -311,7 +302,6 @@ describe('Resources are fetched over http/2', () => {
},
];
const artifacts = buildArtifacts(networkRecords);
artifacts.devtoolsLogs.defaultPass = networkRecordsToDevtoolsLog(networkRecords);

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

drive by deleting unnecessary lines

encodedDataLength: record.transferSize,
decodedBodyLength: record.resourceSize,
encodedDataLength: record.transferSize ?? 0,
decodedBodyLength: record.resourceSize ?? 0,
},
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

only important change

@connorjclark connorjclark merged commit 9baac0a into main Jun 5, 2024
27 checks passed
@connorjclark connorjclark deleted the fix-http2-test branch June 5, 2024 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants