We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f70468 commit c1d26ecCopy full SHA for c1d26ec
integration/k8s_test.go
@@ -21,11 +21,15 @@ import (
21
// "mage test:k8s" will run this test.
22
23
func TestK8s(t *testing.T) {
24
+ // Set up testing DB
25
+ cacheDir := initDB(t)
26
t.Run("misconfig and vulnerability scan", func(t *testing.T) {
27
// Set up the output file
28
outputFile := filepath.Join(t.TempDir(), "output.json")
29
30
osArgs := []string{
31
+ "--cache-dir",
32
+ cacheDir,
33
"k8s",
34
"cluster",
35
"--report",
0 commit comments