Ran
|
Jobs
1
|
Files
22
|
Run time
4s
|
Badge
Embed ▾
README BADGES
|
travis-ci
Switchover must wait for the inner goroutine before it returns. Otherwise, two corner cases may happen: - waitForPodLabel writes to the podLabelErr channel that has been already closed by the outer routine - the outer routine exists and the caller subscribes to the pod the inner goroutine has already subscribed to, resulting in panic. The previous commit https://github.com/zalando-incubator/postgres-operator/commit/fe47f9ebe that touched that code added the cancellation channel, but didn't bother to actually wait for the goroutine to be cancelled. Per report from @valer-cara. Original issue: https://github.com/zalando-incubator/postgres-operator/issues/342
23 of 23 new or added lines in 1 file covered. (100.0%)
205 of 4391 relevant lines covered (4.67%)
0.19 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
23 |
13.62 |
-0.18% | pkg/cluster/cluster.go |
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
13.62 |
-0.18% | pkg/cluster/cluster.go |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 1251.1 | 22 |
4.67 |
Travis Job 1251.1 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|