Page MenuHomePhabricator

[services] Tests - Add chunk limit to tools
ClosedPublic

Authored by karol on Jun 13 2022, 6:50 AM.
Tags
None
Referenced Files
F2212553: D4248.id14327.diff
Mon, Jul 8, 7:49 AM
Unknown Object (File)
Sat, Jul 6, 8:53 PM
Unknown Object (File)
Tue, Jul 2, 11:45 AM
Unknown Object (File)
Sun, Jun 30, 8:19 PM
Unknown Object (File)
Sun, Jun 30, 9:24 AM
Unknown Object (File)
Sun, Jun 30, 7:14 AM
Unknown Object (File)
Sun, Jun 30, 7:11 AM
Unknown Object (File)
Sat, Jun 29, 9:14 AM

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

karol edited the test plan for this revision. (Show Details)
karol added reviewers: tomek, varun.
karol edited the summary of this revision. (Show Details)
karol edited the summary of this revision. (Show Details)
Harbormaster returned this revision to the author for changes because remote builds failed.Jun 13 2022, 10:02 AM
Harbormaster failed remote builds in B9724: Diff 13469!

CI failed on an unrelated stage - key server
CI services build - no space left on device

varun requested changes to this revision.Jun 15 2022, 8:40 AM
varun added inline comments.
services/commtest/tests/lib/tools.rs
28 ↗(On Diff #13469)

can we add a unit to this variable name? idk what size means in this context. also, just curious, why usize instead of u64?

This revision now requires changes to proceed.Jun 15 2022, 8:40 AM
services/commtest/tests/lib/tools.rs
28 ↗(On Diff #13469)

nvm i understand why you chose usize

Seems like you answered your own question. I'm not sure what is the state of this diff so I'm going to pass this back to you.

tomek requested changes to this revision.Jun 20 2022, 4:29 AM
tomek added inline comments.
services/commtest/tests/lib/tools.rs
28 ↗(On Diff #13469)

Please add a unit to the name. It seems like this is in bytes. Or maybe, we can use ByteSize?

This revision now requires changes to proceed.Jun 20 2022, 4:29 AM
tomek added inline comments.
services/commtest/tests/lib/tools.rs
21 ↗(On Diff #13711)

It is no longer a dead code, is it?

24–27 ↗(On Diff #13711)

I guess we can use a variable instead of a function because the value doesn't change

This revision is now accepted and ready to land.Jun 26 2022, 9:24 PM
services/commtest/tests/lib/tools.rs
21 ↗(On Diff #13711)

we can remove this

24–27 ↗(On Diff #13711)

I wrapped this into a function because I had problems with having it as a variable. const will not work because of the as_u64 which is done in the runtime.

remove dead code annotation