Vinit Nayak
Vinit Nayak

Reputation: 103

Jenkins takes too long to execute

I'm currently building Python regression tests using Jenkins. For some reason, each individual test in the test suite is taking approx. 15 minutes to run (and there are about 70/80 tests total) in Jenkins, but when I run the tests from the command line on the same windows box, each individual tests takes only about 30seconds to 1minute to run. I even put print statements in some of the files and none of them show up on the jenkins command line output. Has anyone else faced this problem or have any suggestions?

Thanks

Also, I'm not doing a sync every time I build, only syncing once!

Upvotes: 2

Views: 3680

Answers (2)

Gonen
Gonen

Reputation: 4075

Check load on the machine and ensure you set Jenkins with enough memory to run those tests.

It is not clear if you are working with Jenkins-slaves or directly on the master - This may also have an affect on performance.

Upvotes: 0

malenkiy_scot
malenkiy_scot

Reputation: 16615

This may have to do with running Jenkins in the background (and/or as a service). Try running it in the foreground with java -jar jenkins.war an see if it helps.

Upvotes: 1

Related Questions