Files
Michael SnowdenandGitHub b208e0f621 Extract common code from service/frontend/{fx,fx_test}.go (#4643)
<!-- Describe what has changed in this PR -->
**What changed?**
I extracted the common `nettest. PipeListener ` from `fx_test.go` and
`quotas.CalculateEffectiveResourceLimit` from `fx.go`.

<!-- Tell your future self why have you made these changes -->
**Why?**
I extracted these because I plan on reusing them in a future PR.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
I added a test for the new listener and the resource limit calculation.

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**


<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
2023-07-19 17:53:59 +00:00
..