Skip to content

Commit 6e001d2

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 01f8f9a commit 6e001d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

functests/5_latency_testing/latency_testing.go

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

0 commit comments

Comments
 (0)