RSpec Code Examples

 

 

OurEelHacks::Autoscaler
should get a count of dynos at start0.11825s
scaling frequency
should not scale too soon0.08941s
should scale up if time has elapsed and hard limit exceeded0.11045s
hard limits
should scale down if hard lower limit exceeded0.14261s
soft upper limit
if soft_duration hasn't elapsed
should not scale up0.13230s
should not scale down0.16393s
if soft_duration has elapsed
should scale up if above upper soft limit0.13226s
should not scale down if below lower soft limit0.16250s
soft lower limit
if soft_duration hasn't elapsed
should not scale up0.13266s
should not scale down0.16502s
if soft_duration has elapsed
should not scale up even if above upper soft limit0.13467s
should scale down if below lower soft limit0.16463s
OurEelHacks::Rack
should pass the metric to the autoscaler0.09003s
OurEelHacks::Sidekiq
should pass the metric to the autoscaler0.00059s