Skip to content

Commit 7cfc412

Browse files
committedAug 23, 2023
internal/genericosv: skip failing test pending fix
The test TestToReport is failing because it is making real proxy calls, whose responses may change over time. Skip this test until we can fix it by using mock proxy calls instead. Change-Id: Ia7f82c255eb44bf1b98961e430afef6604b8e14a Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/522295 Run-TryBot: Tatiana Bradley <tatianabradley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
1 parent 809edcc commit 7cfc412

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎internal/genericosv/report_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ var (
2626

2727
// To update test cases to reflect new expected behavior:
2828
// go test ./internal/genericosv/... -update -run TestToReport
29+
//
30+
// TODO(https://go.dev/issues/61769): mock out proxy calls in the non-update
31+
// case so that this test is hermetic.
2932
func TestToReport(t *testing.T) {
33+
t.Skip("need to mock out proxy calls")
3034
if err := filepath.WalkDir(testOSVDir, func(path string, f fs.DirEntry, err error) error {
3135
if err != nil {
3236
return err

0 commit comments

Comments
 (0)