git-plugin test cases running 5+ minutes

12 views
Skip to first unread message

Michael Giroux

unread,
Jan 21, 2016, 10:00:53 PM1/21/16
to Jenkins Users
I'm attempting to build git-plugin and find that the test cases are taking a very long time.  Several of the tests are running 270+ seconds.

Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 270.683 sec - in hudson.plugins.git.CliGitSCMTriggerRemotePollTest

Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 272.201 sec - in hudson.plugins.git.CliGitSCMTriggerLocalPollTest

Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 264.263 sec - in hudson.plugins.git.GitSCMTest

Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 244.154 sec - in hudson.plugins.git.JGitSCMTriggerLocalPollTest

Tests run: 20, Failures: 9, Errors: 0, Skipped: 0, Time elapsed: 224.619 sec <<< FAILURE! - in hudson.plugins.git.JGitSCMTriggerRemotePollTest


Should I be configuring something on my local system to allow the tests to run faster?


Mark Waite

unread,
Jan 21, 2016, 10:14:36 PM1/21/16
to Jenkins Users
Those are the tests as they currently exist in the git plugin.  I generally find that the git plugin tests need 15-20 minutes to run on an SSD equipped Linux machine.  Windows machines with an SSD generally need 20-30 minutes to run all the tests.

I've generally accepted slower development in hopes of releasing fewer bugs with new versions of the plugin.

I tend to execute single tests or single test classes from my IDE, and find the response time reasonable in that case.

Of course, if you can find a way to assess the same conditions with faster tests, I'd love to have faster tests.

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3fb841fb-f48b-4345-8a90-ef195632d905%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages