-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update offline backup files list #15685
Update offline backup files list #15685
Conversation
|
PRT Result
|
|
PRT Result
|
|
PRT Result
|
|
PRT Result
|
Also, the |
3157b2d
to
a7764d0
Compare
a7764d0
to
cf8366f
Compare
|
PRT Result
|
|
1 similar comment
|
PRT Result
|
@@ -446,8 +404,8 @@ def test_positive_puppet_backup_restore( | |||
@pytest.mark.parametrize('backup_type', ['online', 'offline']) | |||
def test_positive_backup_restore( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not understand the changes here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should have been module_target_sat
from the start, as when I compared session_target_sat
and sat_maintain
, they were different.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def sat_maintain(request, module_target_sat, module_capsule_configured):
And since this test is using sat_maintain
fixture, and we want the test to point to the same Satellite and Capsule object, the test needs to use the same fixture as the sat_maintain
fixture does.
@@ -236,47 +235,6 @@ def test_positive_backup_all(sat_maintain, setup_backup_tests, module_synced_rep | |||
assert 'FAIL' not in result.stdout | |||
|
|||
|
|||
@pytest.mark.include_capsule | |||
def test_positive_backup_offline_logical(sat_maintain, setup_backup_tests, module_synced_repos): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removal is correct, as we are dropping the --include-db-dumps
parameter.
@@ -30,8 +30,7 @@ | |||
|
|||
|
|||
BASIC_FILES = {"config_files.tar.gz", ".config.snar", "metadata.yml"} | |||
OFFLINE_FILES = {"pgsql_data.tar.gz", ".postgres.snar"} | BASIC_FILES | |||
ONLINE_SAT_FILES = {"candlepin.dump", "foreman.dump", "pulpcore.dump"} | BASIC_FILES | |||
ONLINE_SAT_FILES = OFFLINE_FILES = {"candlepin.dump", "foreman.dump", "pulpcore.dump"} | BASIC_FILES | |||
ONLINE_CAPS_FILES = {"pulpcore.dump"} | BASIC_FILES |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I think we need to introduce OFFLINE_CAPS_FILES
now -- or rather use ONLINE_CAPS_FILES
always for capsules (as those won't have foreman.dump
and candlepin.dump
).
Probably just rename it to CAPS_FILES
then.
And then we can also rename ONLINE_SAT_FILES
and OFFLINE_FILES
to SAT_FILES
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the PR
cf8366f
to
81ebf09
Compare
Problem Statement
Solution
OFFLINE_SAT_FILES
to reflect changes.test_positive_backup_offline_logical
Related Issues