all_test: remove TestMissingReports

Updates golang/go#56139

Change-Id: I6288b65cb073730b6069512b0259a0a1e09519ed
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/464935
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
diff --git a/all_test.go b/all_test.go
index 6558fb5..d632c29 100644
--- a/all_test.go
+++ b/all_test.go
@@ -8,7 +8,6 @@
 package main
 
 import (
-	"context"
 	"errors"
 	"os"
 	"os/exec"
@@ -21,7 +20,6 @@
 
 	"github.com/google/go-cmp/cmp"
 	"github.com/google/go-cmp/cmp/cmpopts"
-	vulnc "golang.org/x/vuln/client"
 	"golang.org/x/vulndb/internal/cveschema5"
 	"golang.org/x/vulndb/internal/report"
 )
@@ -120,34 +118,3 @@
 		})
 	}
 }
-
-const vulnDBURL = "https://vuln.go.dev"
-
-// This test fails with this error on TryBots:
-// ListIDs(): ListIDs(): Get "https://vuln.go.dev/ID/index.json": dial tcp
-// 34.117.213.18:443: connect: no route to host
-//
-// TODO(https://go.dev/issue/56139): add this test as a deployment step.
-func TestMissingReports(t *testing.T) {
-	t.Skip()
-
-	ctx := context.Background()
-	dbClient, err := vulnc.NewClient([]string{vulnDBURL}, vulnc.Options{})
-	if err != nil {
-		t.Fatal(err)
-	}
-	ids, err := dbClient.ListIDs(ctx)
-	if err != nil {
-		t.Fatal(err)
-	}
-	for _, id := range ids {
-		f := report.GetOSVFilename(id)
-		if _, err := os.Stat(f); err != nil {
-			if errors.Is(err, os.ErrNotExist) {
-				t.Errorf("%s was deleted; use the withdrawn field instead to remove reports. See doc/format.md for details.\n", f)
-			} else {
-				t.Fatal(err)
-			}
-		}
-	}
-}