canonical / mongodb-k8s-operator

Operator charm for MongoDB
Apache License 2.0
13 stars 15 forks source link

[DPE-4264] [DPE-4948][DPE-4950] Support backups SC + re-enable RS backup test + fix charmcraft issues #289

Closed MiaAltieri closed 3 months ago

MiaAltieri commented 3 months ago

Issue

  1. Backup tests are disabled for replica set
  2. No evidence that backups are functioning on sharded cluster
  3. Newest version of charmcraft has a lot of issues

Solution

  1. Re-enable tests and make necessary changes so that tests may run successful for backups on replica set deployments
  2. Add in basic integration tests for backups on sharded cluster
  3. Use DP workflow that relies on older charmcraft version
Gu1nness commented 3 months ago

@MiaAltieri Just saw that:

mongodb-k8s-operator/tests/integration/backup_tests/test_backups.py:155: RuntimeWarning: coroutine 'Model.wait_for_idle' was never awaited

in the test failing