Skip to content

Commit be62ba9

Browse files
committed
Skip CVE check for commit ID.
1 parent 2f6c126 commit be62ba9

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

test/integration/cve_int_test.go

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,18 @@ func (suite *CveIntegrationTestSuite) TestCve() {
3131
cp.Expect("critical")
3232
cp.Expect("CVE-2019-16778")
3333
cp.ExpectExitCode(0)
34+
}
35+
36+
func (suite *CveIntegrationTestSuite) TestCveForCommit() {
37+
suite.T().Skip("Skipping because mediator migration left this feature out") // CP-1184
38+
suite.OnlyRunForTags(tagsuite.Cve)
39+
40+
ts := e2e.New(suite.T(), false)
41+
defer ts.Close()
42+
43+
ts.LoginAsPersistentUser()
3444

35-
// make sure that we can select by commit id
36-
cp = ts.Spawn("cve", "ActiveState-CLI/VulnerablePython-3.7#3b222e23-64b9-4ca1-93ee-7b8a75b18c30")
45+
cp := ts.Spawn("cve", "ActiveState-CLI/VulnerablePython-3.7#3b222e23-64b9-4ca1-93ee-7b8a75b18c30")
3746
cp.Expect("Commit ID")
3847
cp.Expect("3b222e23-64b9-4ca1-93ee-7b8a75b18c30")
3948

0 commit comments

Comments
 (0)