From 4cce32f5c9789a7d11de24b2205b352115d839e3 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 16 Apr 2021 15:54:28 -0400 Subject: [PATCH] tests: remove KbPkg from defined pkgs since it isn't parsed Signed-off-by: Alfredo Deza --- test/integration/catalog_packages_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration/catalog_packages_test.go b/test/integration/catalog_packages_test.go index 53d6022ea..118c4ad6f 100644 --- a/test/integration/catalog_packages_test.go +++ b/test/integration/catalog_packages_test.go @@ -63,6 +63,7 @@ func TestPkgCoverageImage(t *testing.T) { for _, p := range pkg.AllPkgs { definedPkgs.Add(string(p)) } + definedPkgs.Remove(string(pkg.KbPkg)) var cases []testCase cases = append(cases, commonTestCases...) @@ -189,6 +190,7 @@ func TestPkgCoverageDirectory(t *testing.T) { definedLanguages.Remove(pkg.UnknownLanguage.String()) observedPkgs.Remove(string(pkg.UnknownPkg)) definedPkgs.Remove(string(pkg.UnknownPkg)) + definedPkgs.Remove(string(pkg.KbPkg)) // ensure that integration test commonTestCases stay in sync with the available catalogers if len(observedLanguages) < len(definedLanguages) {