Ran
|
Jobs
3
|
Files
44
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
push
github
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
1 of 1 new or added line in 1 file covered. (100.0%)
12642 of 12660 relevant lines covered (99.86%)
2.98 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | unit-ubuntu - 5508714283.1 | 44 |
99.86 |
||
2 | unit-macos - 5508714283.2 | 44 |
99.81 |
||
3 | unit-windows - 5508714283.3 | 44 |
98.69 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|