skip vuln tests until API keys are restored (#19446)

This commit is contained in:
Roberto Dip 2024-06-03 14:06:41 -03:00 committed by GitHub
parent f546ebe102
commit fa3f87a9a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 0 deletions

View file

@ -12,6 +12,7 @@ import (
)
func TestIntegrationSync(t *testing.T) {
t.Skip("REMOVEME: when API keys are restored")
nettest.Run(t)
vulnPath := t.TempDir()

View file

@ -149,6 +149,7 @@ func TestCPETranslations(t *testing.T) {
}
func TestSyncCPEDatabase(t *testing.T) {
t.Skip("REMOVEME: when API keys are restored")
nettest.Run(t)
tempDir := t.TempDir()
@ -466,6 +467,7 @@ func TestLegacyCPEDB(t *testing.T) {
}
func TestCPEFromSoftwareIntegration(t *testing.T) {
t.Skip("REMOVEME: when API keys are restored")
testCases := []struct {
software fleet.Software
cpe string

View file

@ -131,6 +131,7 @@ func (d *threadSafeDSMock) InsertSoftwareVulnerability(ctx context.Context, vuln
}
func TestTranslateCPEToCVE(t *testing.T) {
t.Skip("REMOVEME: when API keys are restored")
t.Parallel()
ctx := context.Background()

View file

@ -82,6 +82,7 @@ func TestLoadCVEMeta(t *testing.T) {
}
func TestDownloadCPETranslations(t *testing.T) {
t.Skip("REMOVEME: when API keys are restored")
nettest.Run(t)
tempDir := t.TempDir()