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

CyberDem0n / patroni / 5508714299 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 10 Jul 2023 01:52PM UTC
Files 44
Run time 1s
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

10 Jul 2023 11:44AM UTC coverage: 99.858%. Remained the same
5508714299.2

push

github

web-flow
Allow integer gucs without units in validation (#2734)

Previously, integer gucs, for example `max_connections` would not pass the validation, as these settings have no unit, if and only if they were specified as a string.

This causes problems if the `max_connections` is configured in `patroni.yaml` as a string, for example, the following configuration would not result in the right `max_connections` settings, as `max_connections` is configured as a string:

    bootstrap:
      dcs:
        postgresql:
          parameters:
            log_checkpoints: "on"
            log_connections: "off"
            max_connections: "57"

Allowing a user to specify *all* parameters as a string was accepted before in Patroni and also seems very useful, as many of us will be using Ansible/Helm/Golang to build a Patroni configuration, in which creating a `map[string]string` is easier than having to deal with data types.

Attemps to address issue #2735 

Regression was introduced in https://github.com/zalando/patroni/commit/76b3b99de

12642 of 12660 relevant lines covered (99.86%)

1.0 hits per line

Source Files on job unit-ubuntu - 5508714299.2
  • Tree
  • List 0
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5508714299
  • 4725f12f on github
  • Prev Job for on master (#5332671123.1)
  • Next Job for on master (#5508714283.1)
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