-
Improvement
-
Resolution: Done
-
Critical
-
None
I've observed our test cases are running for couple of minutes (approx. around 5-6 minutes) even there are actually only 3 a quite simple tests.
I've tried to determine a bottle-neck and (thanks to Oliver) found it is a feature of hudson.slaves.NodeProvisioner.NodeProvisionerInvoker where is statically defined an initial delay (100sec!) which prolongs every our test many times. It would be a reasonable time for a production deployment but not for running tests. We need to re-define this value to a low number (let say 1s or even lower).
The best place where we should do that is to extend ForemanTestRule introduced by PR#27.