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 27 28 29 30 31 32 33 34
|
From: Shengjing Zhu <zhsj@debian.org>
Date: Thu, 27 Jul 2023 16:30:47 +0800
Subject: Skip network tests
Forwarded: not-needed
---
generate/generate_test.go | 1 +
validate/validate_test.go | 1 +
2 files changed, 2 insertions(+)
diff --git a/generate/generate_test.go b/generate/generate_test.go
index b27dc3f..8751871 100644
--- a/generate/generate_test.go
+++ b/generate/generate_test.go
@@ -18,6 +18,7 @@ import (
// and needs to be fixed immediately (as it will break downstreams that depend
// on us for a "sane default" and do compliance testing -- such as umoci).
func TestGenerateValid(t *testing.T) {
+ t.Skip("Need access network")
plat := "linux"
if runtime.GOOS == "windows" {
plat = "windows"
diff --git a/validate/validate_test.go b/validate/validate_test.go
index ac24845..99152e8 100644
--- a/validate/validate_test.go
+++ b/validate/validate_test.go
@@ -36,6 +36,7 @@ func TestNewValidator(t *testing.T) {
}
func TestJSONSchema(t *testing.T) {
+ t.Skip("Need access network")
for _, tt := range []struct {
config *rspec.Spec
error string
|