mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix restoring of restore options for sections. Fixes #3362
This commit is contained in:
parent
28e0220e97
commit
d56f1b17f3
@ -18,4 +18,5 @@ Bug fixes
|
||||
|
||||
| `Bug #3309 <https://redmine.postgresql.org/issues/3309>`_ - Fix Directory format support for backups.
|
||||
| `Bug #3319 <https://redmine.postgresql.org/issues/3319>`_ - Cleanup and fix handling of Query Tool Cancel button status.
|
||||
| `Bug #3362 <https://redmine.postgresql.org/issues/3362>`_ - Fix restoring of restore options for sections.
|
||||
| `Bug #3457 <https://redmine.postgresql.org/issues/3457>`_ - Fix debugging of procedures in EPAS packages.
|
||||
|
@ -104,8 +104,9 @@ class RestoreCreateJobTest(BaseTestGenerator):
|
||||
only_schema=True
|
||||
),
|
||||
url='/restore/job/{0}',
|
||||
# Please include sections data here, right now this is a bug
|
||||
expected_cmd_opts=['--verbose', '--jobs', '2'],
|
||||
expected_cmd_opts=['--verbose', '--jobs', '2',
|
||||
'--section=pre-data', '--section=data',
|
||||
'--section=post-data'],
|
||||
not_expected_cmd_opts=[],
|
||||
# Below options should be enabled once we fix the issue #3368
|
||||
# not_expected_cmd_opts=['--data-only', '--schema-only'],
|
||||
@ -167,9 +168,9 @@ class RestoreCreateJobTest(BaseTestGenerator):
|
||||
only_data=False
|
||||
),
|
||||
url='/restore/job/{0}',
|
||||
# Add '--no-privileges' to the expected_cmd once #3363 fixed
|
||||
expected_cmd_opts=['--no-owner',
|
||||
'--no-tablespaces'],
|
||||
'--no-tablespaces',
|
||||
'--no-privileges'],
|
||||
not_expected_cmd_opts=[],
|
||||
expected_exit_code=[0, None]
|
||||
)),
|
||||
@ -224,9 +225,8 @@ class RestoreCreateJobTest(BaseTestGenerator):
|
||||
only_schema=False
|
||||
),
|
||||
url='/restore/job/{0}',
|
||||
# Add '--no-data-for-failed-tables' into
|
||||
# expected_cmd_opts once #3363 fixed
|
||||
expected_cmd_opts=['--disable-triggers'],
|
||||
expected_cmd_opts=['--disable-triggers',
|
||||
'--no-data-for-failed-tables'],
|
||||
not_expected_cmd_opts=[],
|
||||
expected_exit_code=[0, None]
|
||||
)),
|
||||
|
Loading…
Reference in New Issue
Block a user