Commit 40752dd
committed
test(config): assert update_config threads enable_tls into render
update_config always renders patroni.yml with enable_tls=is_tls_enabled, but
the orchestration tests mocked render_patroni_yml_file without checking that
kwarg, so a regression hardcoding or inverting the TLS flag would still pass.
Pin that the flag reaches the render call for both the enabled and disabled
states.
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>1 parent bd93fb7 commit 40752dd
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
795 | 807 | | |
796 | 808 | | |
797 | 809 | | |
| |||
0 commit comments