1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: Nicolas Peugnet <nicolas@club1.fr>
Date: Sun, 29 Jun 2025 15:06:34 +0200
Subject: Skip tests that require internet access
Origin: vendor
Forwarded: not-needed
Debian packages are built on buildd servers with internet access blocked.
---
extract_test.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/extract_test.go b/extract_test.go
index ec5417f..b355441 100644
--- a/extract_test.go
+++ b/extract_test.go
@@ -451,7 +451,8 @@ func TestZipMemoryConsumption(t *testing.T) {
require.True(t, heapUsed < 10000000, "heap consumption should be less than 10M but is %d", heapUsed)
}
-func download(t require.TestingT, url string, file *paths.Path) {
+func download(t *testing.T, url string, file *paths.Path) {
+ t.Skip("requires internet access")
if file.Exist() {
return
}
|