Page MenuHomePhabricator

[services] Tests - Backup - Add attachments for backups
ClosedPublic

Authored by karol on Jul 26 2022, 2:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 6, 12:37 PM
Unknown Object (File)
Sat, Jul 6, 12:37 PM
Unknown Object (File)
Sat, Jul 6, 12:37 PM
Unknown Object (File)
Sat, Jul 6, 12:37 PM
Unknown Object (File)
Sat, Jul 6, 12:37 PM
Unknown Object (File)
Sat, Jul 6, 12:37 PM
Unknown Object (File)
Fri, Jul 5, 10:07 PM
Unknown Object (File)
Thu, Jul 4, 10:35 AM

Details

Summary

Depends on D4637

Adding a piece of test for "add attachments for backup" functionality.

Test Plan
cd services
yarn run-performance-tests backup 1

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

karol edited the test plan for this revision. (Show Details)
karol added reviewers: tomek, varun.
karol added inline comments.
services/commtest/tests/backup_performance_test.rs
95 ↗(On Diff #14924)

This should go in a previous diff

tomek added inline comments.
services/commtest/tests/backup_performance_test.rs
95 ↗(On Diff #14924)

Are you going to move it to the previous diff?

108 ↗(On Diff #14924)

When we're not using index, we can simply iterate without using enumeration

112–117 ↗(On Diff #14924)

I don't think early exit is beneficial in this case. The "else" is just a single instruction, so maybe put it in if then?

This revision is now accepted and ready to land.Jul 26 2022, 5:20 AM
services/commtest/tests/backup_performance_test.rs
95 ↗(On Diff #14924)

yes, the change's coming

112–117 ↗(On Diff #14924)

ok

karol edited the summary of this revision. (Show Details)

address feedback