File: 0007-skip-default-host-route-tests.patch

package info (click to toggle)
etcd 3.5.22-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 15,688 kB
  • sloc: sh: 3,222; makefile: 527
file content (29 lines) | stat: -rw-r--r-- 886 bytes parent folder | download | duplicates (4)
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
From: Mathias Gibbens <gibmat@debian.org>
Date: Wed, 28 Feb 2024 17:43:21 +0800
Subject: These tests fail for me locally,
 as well as in all the reproducible builds

---
 pkg/netutil/routes_linux_test.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pkg/netutil/routes_linux_test.go b/pkg/netutil/routes_linux_test.go
index 2d0dade..8f149ed 100644
--- a/pkg/netutil/routes_linux_test.go
+++ b/pkg/netutil/routes_linux_test.go
@@ -20,6 +20,7 @@ package netutil
 import "testing"
 
 func TestGetDefaultInterface(t *testing.T) {
+	t.Skip("Skip test that fails in some environments")
 	ifc, err := GetDefaultInterfaces()
 	if err != nil {
 		t.Fatal(err)
@@ -28,6 +29,7 @@ func TestGetDefaultInterface(t *testing.T) {
 }
 
 func TestGetDefaultHost(t *testing.T) {
+	t.Skip("Skip test that fails in some environments")
 	ip, err := GetDefaultHost()
 	if err != nil {
 		t.Fatal(err)