Repository navigation
add closure that guarantees mutex unlock in loop - #12980
openshift-bot merged 1 commit into
Conversation
|
The diff is significantly easier to see when ignoring whitespace. |
|
[test] |
|
Yeah the continue was broken. LGTM |
| go func() { | ||
| <-time.After(o.exitAfterPeriod) | ||
| lock.Lock() | ||
| defer lock.Unlock() |
There was a problem hiding this comment.
This is unnecessary because we os.Exit(0). It doesn't hurt, so not an issue.
|
[merge] |
|
flaked on #12923 re[test] |
|
Evaluated for origin test up to 8d7e9d6 |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/265/) (Base Commit: 19aa349) |
|
flaked on #12784 (comment) re[merge] |
|
Evaluated for origin merge up to 8d7e9d6 |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/320/) (Base Commit: aa49370) (Image: devenv-rhel7_5932) |
Attempts to address #12930
Based on output from the linked test flake:
It is a possibility that the test is hanging for multiple hours based on a deadlock happening. This patch eliminates that possibility.
cc @openshift/cli-review @enj @smarterclayton