minIterationDuration over 10s causes "setup timeout" error

#1

Hi,
I was playing with “minIterationDuration”: “15s” and script got stuck for that duration after which it exited with “setup timeout” error. The only way to avoid setup timeout is to set setupTimeout option with value higher than minIterationDuration. This doesn’t look like expected behavior. Why would iteration setting affect setup?

#2

Hi, thank you for reporting this. You are right, minIterationDuration shouldn’t affect setup() and `teardown(), so this is a bug. I’ve added a new issue about it: https://github.com/loadimpact/k6/issues/1003