Skip to content

Conversation

marceloneppel
Copy link
Member

@marceloneppel marceloneppel commented Jul 3, 2024

Issue

Timeouts are happening on the test_restore_on_new_cluster after PITR was merged through #391 (due to a different status being set by the charm).

Solution

Fixed the expected status in the tests (changing the constant from ANOTHER_CLUSTER_REPOSITORY_ERROR_MESSAGE to MOVE_RESTORED_CLUSTER_TO_ANOTHER_BUCKET).

Also, I restored the restore-related application databag fields to empty values to avoid the charm being unable to use new S3 credentials from the relation.

Unit tests are being updated at #528.

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Copy link

codecov bot commented Jul 3, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 68.66%. Comparing base (def028c) to head (2e0dbeb).

Files Patch % Lines
src/backups.py 0.00% 1 Missing and 1 partial ⚠️
src/charm.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #521      +/-   ##
==========================================
- Coverage   68.76%   68.66%   -0.11%     
==========================================
  Files          11       11              
  Lines        3000     3003       +3     
  Branches      530      532       +2     
==========================================
- Hits         2063     2062       -1     
- Misses        819      822       +3     
- Partials      118      119       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…up-test

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
@marceloneppel marceloneppel marked this pull request as ready for review July 8, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants