Skip to content

re-enable package installation tests for debian (merge when BTS-684 is fixed) #251

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

Merged
merged 2 commits into from
Apr 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -29,9 +29,6 @@ def __init__(self, params: CliTestSuiteParameters):
super().__init__(params)
self.suite_name = f"Test package installation/uninstallation. New version: {self.new_version}. Old version: {self.old_version}. Package type: {str(self.new_inst_e.installer_type)}. Community edition."

disable_for_debian_bts_684 = disable_for_debian(
"Package installation/uninstallation tests are temporarily disabled for debian-based linux distros. Waiting for BTS-684."
)
disable_for_zip_packages = disable_if_returns_true_at_runtime(
BasePackageInstallationTestSuite.is_zip, "This test case is not applicable for .zip packages."
)
@@ -40,7 +37,6 @@ def __init__(self, params: CliTestSuiteParameters):
"Test case is skipped because client package is not present for given installer type.",
)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -49,7 +45,6 @@ def test1(self):
"""Check that new community server package cannot be installed over an enterprise package of previous version"""
check_if_server_packages_can_be_installed_consequentially(self.old_inst_e, self.new_inst_c, False)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -58,7 +53,6 @@ def test2(self):
"""Check that new community server package cannot be installed over an enterprise package of the same version"""
check_if_server_packages_can_be_installed_consequentially(self.new_inst_e, self.new_inst_c, False)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -67,7 +61,6 @@ def test3(self):
"""Check that community debug package cannot be installed when enterprise server package of current version is present"""
check_if_debug_package_can_be_installed_over_server_package(self.new_inst_c, self.new_inst_e, False)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -76,7 +69,6 @@ def test4(self):
"""Check that community debug package cannot be installed when enterprise server package of previous version is present"""
check_if_debug_package_can_be_installed_over_server_package(self.new_inst_c, self.old_inst_e, False)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -85,7 +77,6 @@ def test5(self):
"""Check that community debug package cannot be installed if server package is not present."""
check_if_debug_package_can_be_installed(self.new_inst_c, False)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -128,7 +119,6 @@ def test10(self):
"""Check that community client package can be installed/uninstalled."""
check_if_client_package_can_be_installed(self.new_inst_c, True)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -137,7 +127,6 @@ def test11(self):
"""Check that new community server package can be installed"""
check_if_server_package_can_be_installed(self.new_inst_c)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
Original file line number Diff line number Diff line change
@@ -29,9 +29,6 @@ def __init__(self, params: CliTestSuiteParameters):
super().__init__(params)
self.suite_name = f"Test package installation/uninstallation. New version: {self.new_version}. Old version: {self.old_version}. Package type: {str(self.new_inst_e.installer_type)}. Enterprise edition."

disable_for_debian_bts_684 = disable_for_debian(
"Package installation/uninstallation tests are temporarily disabled for debian-based linux distros. Waiting for BTS-684."
)
disable_for_zip_packages = disable_if_returns_true_at_runtime(
BasePackageInstallationTestSuite.is_zip, "This test case is not applicable for .zip packages."
)
@@ -40,7 +37,6 @@ def __init__(self, params: CliTestSuiteParameters):
"Test case is skipped because client package is not present for given installer type.",
)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -49,7 +45,6 @@ def test1(self):
"""Check that new enterprise server package cannot be installed over a community package of previous version"""
check_if_server_packages_can_be_installed_consequentially(self.old_inst_c, self.new_inst_e, False)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -58,7 +53,6 @@ def test2(self):
"""Check that new enterprise server package cannot be installed over a community package of the same version"""
check_if_server_packages_can_be_installed_consequentially(self.new_inst_c, self.new_inst_e, False)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -67,7 +61,6 @@ def test3(self):
"""Check that enterprise debug package cannot be installed when community server package of current version is present"""
check_if_debug_package_can_be_installed_over_server_package(self.new_inst_e, self.new_inst_c, False)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -76,7 +69,6 @@ def test4(self):
"""Check that enterprise debug package cannot be installed when community server package of previous version is present"""
check_if_debug_package_can_be_installed_over_server_package(self.new_inst_e, self.old_inst_c, False)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -85,7 +77,6 @@ def test5(self):
"""Check that enterprise debug package cannot be installed if server package is not present."""
check_if_debug_package_can_be_installed(self.new_inst_e, False)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -128,7 +119,6 @@ def test10(self):
"""Check that enterprise client package can be installed/uninstalled."""
check_if_client_package_can_be_installed(self.new_inst_e, True)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages
@@ -137,7 +127,6 @@ def test11(self):
"""Check that new enterprise server package can be installed"""
check_if_server_package_can_be_installed(self.new_inst_e)

@disable_for_debian_bts_684
@disable_for_windows
@disable_for_mac
@disable_for_zip_packages