Skip to content

Commit

Permalink
ignore G204 in latency_testing
Browse files Browse the repository at this point in the history
This is ignored temporarily as gosec resolver doesnt properly support
Call Expressions
https://github.com/securego/gosec/blob/master/resolve.go#L70
  • Loading branch information
yuvalk committed Sep 28, 2021
1 parent 51dde8f commit b3b1d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functests/5_latency_testing/latency_testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ var _ = table.DescribeTable("Test latency measurement tools tests", func(testGro
if _, err := os.Stat("../../build/_output/bin/latency-e2e.test"); os.IsNotExist(err) {
Skip("The executable test file does not exist , skipping the test.")
}
output, err := exec.Command("../../build/_output/bin/latency-e2e.test", "-ginkgo.focus", test.toolToTest).Output()
output, err := exec.Command("../../build/_output/bin/latency-e2e.test", "-ginkgo.focus", test.toolToTest).Output() // #nosec G204
if err != nil {
//we don't fail the test here because the test might be a negative check
testlog.Info(err.Error())
Expand Down

0 comments on commit b3b1d77

Please sign in to comment.