nighthawk icon indicating copy to clipboard operation
nighthawk copied to clipboard

Unit tests for computeFirstWorkerStart() and computeInterWorkerDelay()

Open oschaaf opened this issue 4 years ago • 0 comments

In https://github.com/envoyproxy/nighthawk/pull/573 two methods have been extracted to avoid the dynamic_delay extension from growing more complex:

  1. ProcessImpl::computeFirstWorkerStart()
  2. ProcessImpl::computeInterWorkerDelay()

While these are covered in tests indirectly, it would be good to directly unit-test those to ensure their input/output is correct.

oschaaf avatar Dec 07 '20 19:12 oschaaf