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

zalando / postgres-operator / 3299
44%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2020 02:23PM UTC
Jobs 1
Files 31
Run time 12s
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

19 Oct 2020 02:18PM UTC coverage: 29.653% (-0.08%) from 29.737%
3299

push

travis-ci

web-flow
Lookup function installation (#1171)

* Lookup function installation

Due to reusing a previous database connection without closing it, lookup
function installation process was skipping the first database in the
list, installing twice into postgres db instead. To prevent that, make
internal initDbConnWithName to overwrite a connection object, and return
the same object only from initDbConn, which is sort of public interface.

Another solution for this would be to modify initDbConnWithName to
return a connection object and then generate one temporary connection
for each db. It sound feasible but after one attempt it seems it
requires a bit more changes around (init, close connections) and
doesn't bring anything significantly better on the table. In case if
some future changes will prove this wrong, do not hesitate to refactor.

Change retry strategy to more insistive one, namely:

* retry on the next sync even if we failed to process one database and
install pooler appliance.

* perform the whole installation unconditionally on update, since the
list of target databases could be changed.

And for the sake of making it even more robust, also log the case when
operator decides to skip installation.

Extend connection pooler e2e test with verification that all dbs have
required schema installed.

2871 of 9682 relevant lines covered (29.65%)

2.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3299.1 19 Oct 2020 02:23PM UTC 0
29.65
Travis Job 3299.1
Source Files on build 3299
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3299
  • 1f5d0995 on github
  • Prev Build on master (#3261)
  • Next Build on master (#3303)
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