Page MenuHomePhabricator

[services] Tests - Add backup utils
ClosedPublic

Authored by karol on May 31 2022, 6:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 8:28 AM
Unknown Object (File)
Sun, Dec 15, 8:28 AM
Unknown Object (File)
Sun, Dec 15, 8:27 AM
Unknown Object (File)
Sun, Dec 15, 8:27 AM
Unknown Object (File)
Sun, Dec 15, 8:27 AM
Unknown Object (File)
Sun, Dec 15, 8:27 AM
Unknown Object (File)
Sun, Dec 15, 8:27 AM
Unknown Object (File)
Sun, Dec 15, 8:27 AM

Details

Summary

Depends on D4161

I'm not an expert at all in Rust crate/module system. I decided to create a separate module that's going to be fetching all necessary things and then multiple modules can take that imports from here.

Test Plan

This itself doesn't do anything.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.May 31 2022, 6:55 AM
Harbormaster failed remote builds in B9543: Diff 13237!
karol edited the summary of this revision. (Show Details)
karol edited the test plan for this revision. (Show Details)
karol added reviewers: tomek, ashoat, varun.

ios failed, unrelated.

I know that Ci failed but it's related to docker which I know is not working properly right now.

I don't feel confident enough to review Rust :(

Do these all need to be pub?

This revision is now accepted and ready to land.Jun 1 2022, 9:48 AM
services/commtest/src/backup_utils.rs
1–5 ↗(On Diff #13249)

Answering Varun's comment: these two have to be public

7–16 ↗(On Diff #13249)

turns out this is redundant

karol retitled this revision from [DRAFT] [services] Tests - Add backup utils to [services] Tests - Add backup utils.

Accepted as a draft, so removing the draft label and requesting review - I know this diff is simple but I'm doing it just for the rules' sake.

This revision is now accepted and ready to land.Jun 8 2022, 2:06 AM
services/commtest/tests/backup/backup_utils.rs
23
24–25
This revision was automatically updated to reflect the committed changes.