3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/buf/skip_test_requiring_network.patch

16 lines
611 B
Diff
Raw Normal View History

2021-09-03 21:00:59 +01:00
diff --git a/private/bufpkg/buftesting/buftesting.go b/private/bufpkg/buftesting/buftesting.go
index 82b3ec4..ef8263a 100644
--- a/private/bufpkg/buftesting/buftesting.go
+++ b/private/bufpkg/buftesting/buftesting.go
@@ -99,6 +99,10 @@ func RunActualProtoc(
2021-03-25 10:41:51 +00:00
// GetGoogleapisDirPath gets the path to a clone of googleapis.
func GetGoogleapisDirPath(t *testing.T, buftestingDirPath string) string {
+ // Requires network access, which is not available during
+ // the nixpkgs sandboxed build
+ t.Skip()
+
googleapisDirPath := filepath.Join(buftestingDirPath, testGoogleapisDirPath)
require.NoError(
t,