Branch: refs/heads/master
Home: https://github.com/jenkinsci/git-plugin
Commit: fd87a1c03189034238f4230008fcf5168f8db757
https://github.com/jenkinsci/git-plugin/commit/fd87a1c03189034238f4230008fcf5168f8db757
Author: Mark Waite <[email protected]>
Date: 2023-07-08 (Sat, 08 Jul 2023)
Changed paths:
M src/main/java/hudson/plugins/git/GitChangeSet.java
M src/main/java/hudson/plugins/git/GitSCM.java
M src/main/java/hudson/plugins/git/GitStatus.java
A src/test/java/hudson/plugins/git/GitStatusSimpleTest.java
M src/test/java/hudson/plugins/git/GitStatusTest.java
Log Message:
-----------
Fix erratic GitStatusTest (#1480)
* Fix random GitStatusTest failures
Test already had code that waits for jobs to complete on Windows.
The improved job leak detection that was implemented in the Jenkins
test harness will sometimes show the same conditions on Unix builds.
Wait for jobs to complete on Windows and on Unix.
* Remove non JenkinsRule tests to simplify cleanup
* Move simple GitStatusTest items to new class
No need to complicate GitStatusTest with the test methods that do not
require a JenkinsRule. Use a simpler test structure and a simpler test
file for the GitStatusTest assertions that do not require a JenkinsRule.
* Assert that the "all" view must exist
* Report a message if no jobs found for wait loop
Not an error, but surprising based on my testing. None of my test
machines are fast enough to complete all the jobs without needing any
time for waiting.
* Replace Hudson with Jenkins in comments
* Remove unused imports
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/git-plugin/push/refs/heads/master/3b561e-fd87a1%40github.com.