Skip to content

Add test_functional test#471

Closed
BON4 wants to merge 3 commits intocanonical:mainfrom
BON4:test-charmed-postgresql-k8s-functional-test
Closed

Add test_functional test#471
BON4 wants to merge 3 commits intocanonical:mainfrom
BON4:test-charmed-postgresql-k8s-functional-test

Conversation

@BON4
Copy link
Copy Markdown
Contributor

@BON4 BON4 commented May 6, 2024

Issue #470

Functional Testing. Recovery testing.

This pull request is based on the same PR but for VM postgresql-operator

All this cases should be covered:

  • Graceful restart. DB will receive SIGTERM and will shutdown properly . Write data, graceful restart instance.
  • Forceful restart. DB will receive SIGKILL and will shutdown forceful, on start charm/patroni should recover. Write data, forceful restart instance (recovery).
  • Backup-restore case with recovery. Write data, create backup, forceful restart, run recovery, write data, restore, check data consistency.

@BON4 BON4 changed the title Add test_functional test Add test_functional test May 6, 2024
@taurus-forever
Copy link
Copy Markdown
Contributor

Abandone for now. No success story here, unfortunately. I hope one way we have it merged on the next Jubilant iteration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants