Skip to content

Commit b3b1d77

Browse files
committed
ignore G204 in latency_testing
This is ignored temporarily as gosec resolver doesnt properly support Call Expressions https://github.com/securego/gosec/blob/master/resolve.go#L70
1 parent 51dde8f commit b3b1d77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functests/5_latency_testing/latency_testing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ var _ = table.DescribeTable("Test latency measurement tools tests", func(testGro
9191
if _, err := os.Stat("../../build/_output/bin/latency-e2e.test"); os.IsNotExist(err) {
9292
Skip("The executable test file does not exist , skipping the test.")
9393
}
94-
output, err := exec.Command("../../build/_output/bin/latency-e2e.test", "-ginkgo.focus", test.toolToTest).Output()
94+
output, err := exec.Command("../../build/_output/bin/latency-e2e.test", "-ginkgo.focus", test.toolToTest).Output() // #nosec G204
9595
if err != nil {
9696
//we don't fail the test here because the test might be a negative check
9797
testlog.Info(err.Error())

0 commit comments

Comments
 (0)