Skip to content

[DPE-10062] Unit tests and tweaks#176

Merged
dragomirp merged 38 commits into
16/edgefrom
dpe-10062-tests
Jul 3, 2026
Merged

[DPE-10062] Unit tests and tweaks#176
dragomirp merged 38 commits into
16/edgefrom
dpe-10062-tests

Conversation

@dragomirp

@dragomirp dragomirp commented Jul 2, 2026

Copy link
Copy Markdown
Contributor
  • Ports most of the unit tests
  • Add missed code

Functional changes tested on:

@dragomirp dragomirp added the enhancement New feature or request label Jul 2, 2026
with open(VM_PATRONI_SERVICE_DEFAULT_PATH, "w") as patroni_service_file:
patroni_service_file.write(new_patroni_service)
subprocess.run(["/bin/systemctl", "daemon-reload"])
daemon_reload()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed from the VM implementation.

Comment on lines +415 to +416
if not self.workload.is_patroni_running():
return True

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed from the VM implementation.

@dragomirp dragomirp marked this pull request as ready for review July 3, 2026 10:24
@dragomirp dragomirp requested a review from a team as a code owner July 3, 2026 10:24
@dragomirp dragomirp requested review from carlcsaposs-canonical, juju-charm-bot, marceloneppel and taurus-forever and removed request for a team July 3, 2026 10:24
@dragomirp dragomirp merged commit 85dfbb4 into 16/edge Jul 3, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants