Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40030

Big delay before a job is started in TestSuite

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Critical Critical
    • node-sharing-plugin
    • 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.

            pajasoft Pavel Janoušek
            pajasoft Pavel Janoušek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: