From 0e8053a5c82a36f8b2c9f205e4129a32f1c24c09 Mon Sep 17 00:00:00 2001 From: Martin Angers Date: Wed, 16 Oct 2024 12:50:30 -0400 Subject: [PATCH] Comment-out tests that can cause OOM issues (#22957) --- cmd/fleetctl/gitops_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/fleetctl/gitops_test.go b/cmd/fleetctl/gitops_test.go index 46a172bb0b..7ec1ea83fe 100644 --- a/cmd/fleetctl/gitops_test.go +++ b/cmd/fleetctl/gitops_test.go @@ -1764,7 +1764,8 @@ func TestGitOpsTeamSofwareInstallers(t *testing.T) { }{ {"testdata/gitops/team_software_installer_not_found.yml", "Please make sure that URLs are reachable from your Fleet server."}, {"testdata/gitops/team_software_installer_unsupported.yml", "The file should be .pkg, .msi, .exe, .deb or .rpm."}, - {"testdata/gitops/team_software_installer_too_large.yml", "The maximum file size is 3 GB"}, + // commenting out, results in the process getting killed on CI and on some machines + //{"testdata/gitops/team_software_installer_too_large.yml", "The maximum file size is 3 GB"}, {"testdata/gitops/team_software_installer_valid.yml", ""}, {"testdata/gitops/team_software_installer_valid_apply.yml", ""}, {"testdata/gitops/team_software_installer_pre_condition_multiple_queries.yml", "should have only one query."}, @@ -1819,7 +1820,8 @@ func TestGitOpsNoTeamSoftwareInstallers(t *testing.T) { }{ {"testdata/gitops/no_team_software_installer_not_found.yml", "Please make sure that URLs are reachable from your Fleet server."}, {"testdata/gitops/no_team_software_installer_unsupported.yml", "The file should be .pkg, .msi, .exe, .deb or .rpm."}, - {"testdata/gitops/no_team_software_installer_too_large.yml", "The maximum file size is 3 GB"}, + // commenting out, results in the process getting killed on CI and on some machines + //{"testdata/gitops/no_team_software_installer_too_large.yml", "The maximum file size is 3 GB"}, {"testdata/gitops/no_team_software_installer_valid.yml", ""}, {"testdata/gitops/no_team_software_installer_pre_condition_multiple_queries.yml", "should have only one query."}, {"testdata/gitops/no_team_software_installer_pre_condition_not_found.yml", "no such file or directory"},