• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zalando-incubator / postgres-operator / 1109
24%

Build:
DEFAULT BRANCH: master
Ran 03 May 2018 08:32AM UTC
Jobs 1
Files 30
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1109

push

travis-ci

web-flow
Improve the pod moving behavior during the Kubernetes cluster upgrade. (#281)

* Improve the pod moving behavior during the Kubernetes cluster upgrade.

Fix an issue of not waiting for at least one replica to become ready
(if the Statefulset indicates there are replicas) when moving the master
pod off the decomissioned node. Resolves the first part of #279.

Small fixes to error messages.

* Eliminate a race condition during the swithover.

When the operator initiates the failover (switchover) that fails and
then retries it for a second time it may happen that the previous
waitForPodChannel is still active. As a result, the operator subscribes
to the former master pod two times, causing a panic.

The problem was that the original code didn't bother to cancel the
waitForPodLalbel for the new master pod in the case when the failover
fails. This commit fixes it by adding a stop channel to that function.

Code review by @zerg-junior

66 of 66 new or added lines in 4 files covered. (100.0%)

589 of 5241 relevant lines covered (11.24%)

0.64 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
pkg/cluster/k8sres.go
5
100.0
pkg/cluster/cluster.go
20
100.0
pkg/cluster/pod.go
40
100.0
pkg/cluster/util.go

Uncovered Existing Lines

Lines Coverage ∆ File
17
100.0
pkg/cluster/cluster.go
24
100.0
pkg/cluster/util.go
30
100.0
pkg/cluster/pod.go
Jobs
ID Job ID Ran Files Coverage
1 1109.1 03 May 2018 08:32AM UTC 0
11.24
Travis Job 1109.1
Source Files on build 1109
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1109
  • fe47f9eb on github
  • Prev Build on master (#1110)
  • Next Build on master (#1118)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc