Skip to content
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

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
Expand Up @@ -27,9 +27,6 @@ class CommunityPackageInstallationTestSuite(BasePackageInstallationTestSuite):
def __init__(self, versions: list, base_config: InstallerBaseConfig):
super().__init__(versions=versions, base_config=base_config)

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."
)
Expand All @@ -41,7 +38,6 @@ def __init__(self, versions: list, base_config: InstallerBaseConfig):
def generate_custom_suite_name(self):
return 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_windows
@disable_for_mac
@disable_for_zip_packages
Expand All @@ -50,7 +46,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
Expand All @@ -59,7 +54,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
Expand All @@ -68,7 +62,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
Expand All @@ -77,7 +70,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
Expand All @@ -86,7 +78,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
Expand Down Expand Up @@ -129,7 +120,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
Expand All @@ -138,7 +128,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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ class EnterprisePackageInstallationTestSuite(BasePackageInstallationTestSuite):
def __init__(self, versions: list, base_config: InstallerBaseConfig):
super().__init__(versions=versions, base_config=base_config)

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."
)
Expand All @@ -42,7 +39,6 @@ def __init__(self, versions: list, base_config: InstallerBaseConfig):
def generate_custom_suite_name(self):
return 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_windows
@disable_for_mac
@disable_for_zip_packages
Expand All @@ -51,7 +47,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
Expand All @@ -60,7 +55,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
Expand All @@ -69,7 +63,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
Expand All @@ -78,7 +71,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
Expand All @@ -87,7 +79,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
Expand Down Expand Up @@ -130,7 +121,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
Expand All @@ -139,7 +129,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
Expand Down