mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-25 10:10:19 -06:00
1) Fixed feature tests failed due to maintenance changes.
2) Update release note.
This commit is contained in:
parent
5c2d242ff8
commit
b4e6d8c6d7
@ -20,6 +20,7 @@ Bundled PostgreSQL Utilities
|
||||
New features
|
||||
************
|
||||
|
||||
| `Issue #6376 <https://github.com/pgadmin-org/pgadmin4/issues/6376>`_ - Added unlogged option while creating a sequence.
|
||||
| `Issue #6381 <https://github.com/pgadmin-org/pgadmin4/issues/6381>`_ - Added support for SYSTEM, CONCURRENTLY and TABLESPACE options in REINDEX.
|
||||
| `Issue #6397 <https://github.com/pgadmin-org/pgadmin4/issues/6397>`_ - Added new/missing options to the VACUUM command.
|
||||
| `Issue #6415 <https://github.com/pgadmin-org/pgadmin4/issues/6415>`_ - Added SKIP_LOCKED and BUFFER_USAGE_LIMIT option to Analyze command.
|
||||
|
@ -130,13 +130,13 @@ class PGUtilitiesMaintenanceFeatureTest(BaseFeatureTest):
|
||||
command = self.page.find_by_css_selector(
|
||||
NavMenuLocators.process_watcher_detailed_command_css).text
|
||||
|
||||
vacuum_details = \
|
||||
"VACUUM (VERBOSE) on database '{0}' of server " \
|
||||
"{1} ({2}:{3})".format(self.database_name, self.server['name'],
|
||||
self.server['host'], self.server['port'])
|
||||
if self.test_level == 'database':
|
||||
vacuum_details = \
|
||||
"VACUUM on database '{0}' of server " \
|
||||
"{1} ({2}:{3})".format(self.database_name, self.server['name'],
|
||||
self.server['host'], self.server['port'])
|
||||
self.assertEqual(message, vacuum_details)
|
||||
self.assertEqual(command, "VACUUM VERBOSE;")
|
||||
self.assertEqual(command, "VACUUM (VERBOSE);")
|
||||
elif self.is_xss_check and self.test_level == 'table':
|
||||
# Check for XSS in the dialog
|
||||
source_code = self.page.find_by_css_selector(
|
||||
@ -148,8 +148,13 @@ class PGUtilitiesMaintenanceFeatureTest(BaseFeatureTest):
|
||||
'Maintenance detailed window'
|
||||
)
|
||||
else:
|
||||
vacuum_details = \
|
||||
"VACUUM on table '{0}/public/{1}' of server " \
|
||||
"{2} ({3}:{4})".format(self.database_name, self.table_name,
|
||||
self.server['name'],
|
||||
self.server['host'], self.server['port'])
|
||||
self.assertEqual(message, vacuum_details)
|
||||
self.assertEqual(command, "VACUUM VERBOSE"
|
||||
self.assertEqual(command, "VACUUM (VERBOSE)"
|
||||
" public." + self.table_name + ";")
|
||||
|
||||
test_gui_helper.close_process_watcher(self)
|
||||
|
Loading…
Reference in New Issue
Block a user