-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run all parallel builds when a serial build finishes #9969
Conversation
[test] |
Evaluated for origin test up to 583033a |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/6637/) |
|
||
func TestHandleCompleteParallel(t *testing.T) { | ||
builds := []buildapi.Build{ | ||
addBuild("build-1", "sample-bc", buildapi.BuildPhaseComplete, buildapi.BuildRunPolicyParallel), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be serial?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it doesn't really matter, the point is to ensure that when a build completes, we immediately start all queued parallel builds. the code path is the same regardless of what type of build completed.
but for sanity, i'll change it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually i think i'm going to leave it since it's TestHandleCompleteParallel.
[merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/6637/) (Image: devenv-rhel7_4640) |
Evaluated for origin merge up to 583033a |
fixes https://bugzilla.redhat.com/show_bug.cgi?id=1357786
@mfojtik ptal