Comment-out tests that can cause OOM issues (#22957)

This commit is contained in:
Martin Angers 2024-10-16 12:50:30 -04:00 committed by GitHub
parent 69b284f98e
commit 0e8053a5c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"},